Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Custom Termination Character in VISA Read

$
0
0

Hi,

 

My VISA simulator sent out custom message starts with '&&' and ends with termination character '!!\n'.

For example, my sample message is

&&

24234

7867

!!

 

So if I set termination character as '\n' I am reading line by line. To read the whole message I have to read multiple times. So I want to know whether we can set termination character of VISA read to '!!\n' so that I read whole message in a single read all the time.

 

In VISA simulator (which is not developed by me), message is read and shown in GUI only if send '!!\n'. I am not sure how its handled internally. So wanted to check VISA read part.

 

TIA,

Arya Stark

 

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>