LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COMMUNICATION WITH INSTRUMENT TROUGHT GPIB

Hello all!
 
I have a  JDS Uniphase switches wich have a GPIB interface.
And still didn't succeed to communicate with.
I did the following:
Start->All Programs->National Instruments->NI-488.2->Explore GPIB
 
My System->Devices and Interfaces->Scan for instruments
 
Instrument0 found with Primary Address = 1
(meantime the switch indicates remote control mode - is OK)
 
Right click on Instrument0 -> Communicate with Instrument
The NI-488.2 Communicator is opened
Query *IDN?
I receive:
iberr = EABO
EABO indicates that an I/O operation has been canceled, usually due to a timeout condition after a GPIB read.  Before reading from the instrument, verify that the GPIB command you are sending is understood by your device and instructs it to place data in its output buffer.  For information on your device's command syntax, consult the instrument manufacturer's user documentation.
So my question is what are the commands I should use for establishing communication with the instrument?
0 Kudos
Message 1 of 4
(2,645 Views)
Do you know for a fact that the instrument supports the *IDN? command? The fact that the instrument is found is usually sufficient to verify communication. Check the instrument's programming manual to see if *IDN? is correct (many older instruments don't use it).
0 Kudos
Message 2 of 4
(2,636 Views)
I'm new here and pretty unfamiliar with labview so far but.... Sounds
like you need to find the communications protocol for your remote
instrument. Just like the error message says. Your instrument is not
responding to the *IDN? command. Either because it does not
recoginize it or because you are not sending a termination character.
Try adding a /r at the end if the command.

0 Kudos
Message 3 of 4
(2,625 Views)
Hi
Have you the manual for your switch ?
IF so check GPIB commands

xseadog
0 Kudos
Message 4 of 4
(2,611 Views)