ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX displays text in hex...

When I communicate with my device with MAX, the scan for instruments displays the string "IPM488", but when I use communicate with instrument, it starts displaying the text in hex ascii value... "IPM488" become "49 50 4D 34 38 38". How can I make it displays the string like when using scan for intruments?

Thanks,
Michael
0 Kudos
Message 1 of 4
(3,707 Views)
This is an unusual error. I'm not sure why it is that way? Could you attach a screenshot?

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,707 Views)
Here is the screenshot of the NI-488.2 Communicator with string display in hex ascii and NI Spy that displays the string correctly.
0 Kudos
Message 3 of 4
(3,707 Views)
The applet scans for any character that seems to be binary data. The alphanumeric, carriage-return and line-feed characters are not considered binary data. However, the null character is considered binary. Thus any string ending with a null character is considered binary.

The solution would be to use the VISA Interactive Control (VISAIC.exe) utility instead.

Randy Solomonson
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,707 Views)