LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 Visa session converted to IO

I was wondering if anyone has ever converted data written to a visa session back into a string or array of bytes.  Is this possible or just a pipe dream?
 
 
Thanks,
 
Andrew
0 Kudos
Message 1 of 3
(2,277 Views)
I'm not sure exactly what you are asking for. The VISA Write input called write buffer is a string. If you want to convert a string to an array of bytes, use the String to Byte Array function. You will often use this function on a VISA Read to convert the read buffer output.
Message 2 of 3
(2,271 Views)

Heh I did nt really think this through, I was converting someone elses program and confused by it......then I guess I was just bewildered in general for a little while.  Thanks for the response and the tip with the read buffer Dennis.

 

Andrew

0 Kudos
Message 3 of 3
(2,259 Views)