10-24-2006 01:45 PM
10-26-2006 11:11 AM
Hi,
I assume you are starting from an NI VISA Class Library template project. Is that correct? If so, you can configure the instrument session to have a different termination character than the line feed or new line characters. This will be on the "Select Instrument" step. Here on the Termination character drop-down, choose "<custom>". Type in the hex value of the termination character you expect. Here is a link to the Serial Quick Reference guide that has a ASCII mapping to hex and decimal values. (Any ASCII table should give you the hex value for the character.) For example, the termination character would appear in the Termination character box as \6B if I had the termination character of k.
If you have a multiline response, after the first "Query and Parse" you would need to have additional "Read and Parse" steps for each line after the first line. Otherwise instead of a "Query and Parse step", you could have a "Write", then as many "Read and Parse" steps as lines you need to read.
I hope this helps!
Regards,