Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Why I can not comunicate with my SR245 module through GPIB?

When I send a READ or Query command for SR245 using "Measurements and Automation Explorer" I get a time-out error (EABO) indicating that the I/O operation has been canceled. I am sure that I send the wright command to SR245 and I append the CR character (/n) and the special EOI character (E) that is required. How can I know if the command and the EOS character that SR245 will send back to GPIB will be read and understood?
0 Kudos
Message 1 of 2
(6,515 Views)
It may be helpful to know what hardware you are using, and in particular if it shows up in the Measurement and Automation Explorer, MAX, (for example, an NI PCI-GPIB card or GPIB-USB device). In particular, if you right click on an instrument which populates after scanning for instruments in MAX you can select Communicate with Instrument. Here, you should be sure that *idn? is in the text field and click either query or write and then read. Most instruments respond to this command with an identification string. If you clicked read first, you should receive a timeout error because you will read the GPIB and no data will have been written. You can also attempt communication using the interactive control tool, called ibic, as follows:

1. Right click on your GPIB d
evice (for example, PCI-GPIB) in MAX and select interactive control.
2. Type ibdev 0 1 0 10 1 0 and press enter(the numbers represent board index, primary address, secondary address, timeout value, EOI on last byte use, and end of string mode/byte; you can use the numbers which correpond to you system, as you may have a different board index and the instrument you are having trouble with may have a different address.)
3. You will see ud0:, now type ibwrt "*idn?" (include the quotes) and press enter.
4. Type ibrd 5 and press enter; this should return the first 5 bytes of the identification string sent by your instrument.

Definitely repost if you are still having problems!

Thank you,

Regards,

JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(6,515 Views)