LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write a string by (visa write) per character

Hello,
I want to know how to write a string using "visa write" character by character and read later with a "visa read"
I tried with a for loop, delay, and the object "spreadsheet string to array" and I failed to do so, I think I did not clearly specify its inputs (format string and string spreadsheet )
Please give me an example or clarify me how to do it.
Thank you in advance

0 Kudos
Message 1 of 4
(3,058 Views)

Try the example here.

0 Kudos
Message 2 of 4
(3,039 Views)

 

 

 

Your "Spreadsheet String To Array" functions needs a correct format string.

 

Try  %s

 

 

Omar
0 Kudos
Message 3 of 4
(3,033 Views)

The usual and easy way to use Visa write is to write a full string at once, and not character by character. Remember to open and close the visa port before trying to send and recieve anything.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(3,013 Views)