Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IEEE 488 Comm Errors w/ Labview But Not With MAX

When I send a command string to my instrument from
LabView using the Send VI, the instrument displays
a communications error, but it successfully executes
the command. When I send the same command using
MAX, the instrument does not display the
communications error. What's the difference exactly?
Tried all the different Send VI modes.
Also ... tried employing the Send Setup VI, sending an
Interface Clear first, and using the 488.1 VI.
Same errors ... but MAX works fine.
Any advice???
0 Kudos
Message 1 of 2
(3,413 Views)
Hello-

The differences will be more apparent when NI-Spy is running. NI-Spy captures all GPIB traffic and can save it to a file. It will also capture errors.

It is preferred to use the VISA VI's to communicate with GPIB. VISA can communicate to a variety of buses, so it is possible to port the application to TCP/IP or rs-232 in the future.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,413 Views)