Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB communication with oscilloscope

Hello,
 
I am trying to communicate with oscilloscopes using GPIB. However, it seems there is something wrong. The NI MAX can find the instrument, but can't get correct response when it send command *IDN?. Everytime the oscilloscopes report query unterminated.
 
I also used IBIC with ibfind gpib0. it reported error. 
 
NI-488.2 guide verified the software and hardware installed successfully.
 
The oscilloscopes I tried are HP54645A and Agilent 54521D. I checked their manual that they support *IDN? command.
 
Can anyone help me find what's wrong? Do I need install other drivers besides the NI GPIB?
 
Thanks.
 
 
0 Kudos
Message 1 of 3
(3,528 Views)
Something to add: The GPIB I am using is PCMCIA-GPIB.
0 Kudos
Message 2 of 3
(3,524 Views)
It looks like a termination problem.  When you send a command string to the instrument, the string must:
 
 - terminate with an EOI signal, or
 - terminate with a termination character that the instrument wants
 
As for EOI, you must enable this option by using ibeot() function on NI-488.2.  ibdev() also has the same feature on its additional params. As for termination character, the command string must include as in its entity.  Actually most instruments that accept "*IDN?" will understand an LF (0x0A) as the terminator, therefore you can send "*IDN?\n" rather than "*IDN?".

このメッセージは 06-11-2007 10:41 AMに Makoto が編集しています。

0 Kudos
Message 3 of 3
(3,516 Views)