Logging A Text String


jamesdlee

Recommended Posts

Hi,

I am communicating with an instrument (device name t500u) using a serial link and using the 'poll' command to get data. But I would like to be able to log text strings of the instrument status. Currently in a sequence I send the command:

 

private string datain = device.t500u.Poll("V MODE" + chr(013),13)

 

and it returns the line (viewed in the comm monitor):

 

 V  147:14:05  0000  SAMPLE\013\010

 

I would like to be able to get the string SAMPLE into a channel that I can log alongside my data. SAMPLE could also be CAL, ZERO or AREF depending on the instrument status.

 

Any help would be much appreciated!

 

Thanks

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.