Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I send non printable ASCII characters via Visa serial communication ?

characters such as "VT" : "vertical tabulation" or any character whose
Ascii decimal code goes from 0 to 31
0 Kudos
Message 1 of 3
(3,148 Views)
Hi Multigus,
You can use the \v code, or use \11 as "VT" is ascii 11. Try this:
place a string control, and enter the character you want (example a
newline); then right click and select '\ code display'; this is the
code you need to sent.
This knowledgebase may help you further:
http://digital.ni.com/public.nsf/websearch/77C8F61D36F5A23086256634005ACB38?OpenDocument
To sent a "VT" you can create a string constant, select '\ code
display'; enter \11 and append this to your data.
0 Kudos
Message 2 of 3
(3,148 Views)
You can also change the display and enter the hex equivalent.
0 Kudos
Message 3 of 3
(3,148 Views)