Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I put a "esc" character in the command line of the Iinstrument I/O Assistant?

Hello

I'm trying to prepare a VI for a device (Ultrasonic detector) connected to my RS-232 serial port, and which requires commands and enquires in the format



The problem is very simple....since is a non printable character, how can I put it in the command line of the Instrument I/O Assistant???

Best regards

Massimiliano
0 Kudos
Message 1 of 2
(2,859 Views)
Hello Massimiliano,

Thanks for contacting National Instruments.

To answer you question, the best way to do what you are looking to do is to use the instrument I/O Assistant to generate whatever you want the code to do without the non-displayable characters, then once the Instrument I/O Assistant block is on the block diagram, then right click on the Assistant block and select to open the front panel. You will want to choose to convert it to a standard VI, which will allow you to change the code that has been auto generated. In order to add non-displayable characters to this code you follow the knowledgebase link below.

http://digital.ni.com/public.nsf/websearch/77c8f61d36f5a23086256634005acb38

Hope this helps!

Regards,

Steven B.
Applications
Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,859 Views)