Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to input nonprintable characters in VISA Interactive Control

I would like to use the VISA Interactive Control panel to send nonprintable characters (ASCII 2 and 3) in my viWrite buffer.  I don't know if there's a way to input these characters in the buffer.
0 Kudos
Message 1 of 3
(3,687 Views)
In the viWrite TAB, you can type \x02 (for ASCII 0x02).  Mind that the value expression after the \x must be 2-digit hexadecimal.  It is also true for other ascii codes. You can also give \r or \n for some special characters such as CR(0x0D) or LF(0x0A).  This is very similar to C language's string expression.

このメッセージは 09-08-2006 11:21 AMに Makoto が編集しています。

Message 2 of 3
(3,683 Views)
Just wanted to say that it worked.  I like it when things work.  Thanks!
0 Kudos
Message 3 of 3
(3,639 Views)