Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a serial poll therough GPIB rs232 box from the RS232 side...

I have a GPIB <> RS232 converter.
Using the PC's terminal, i'm controlling a GPIB device.
i need to conduct a serial poll at a certain condition but the instrument does not support STB or SPE commands.
is there anyway to read the box's GPIB status byte through the serial port?
 
 
 
Erez
0 Kudos
Message 1 of 4
(3,661 Views)

Hey Erez,
Thanks for contacting National Instruments. Could you be a little more specific on your issue? What hardware are you using and what do you mean by the device does not support status byte? From the manual, as long as the GPIB <>RS232 device is not the controller, you can use the spbyte command to request the status byte or rsp to do serial poll of status device. Starting on page 5-31 of the manual, of the device I think you are using, there are descriptions of the two commands I mentioned. I hope that this helps you out.

Regards

 
Can Wong
0 Kudos
Message 2 of 4
(3,641 Views)

Hi,

i read the mannual and it doesnt help since RSP and RSV are not supported by the system i'm connected to.

i'm using my PC with Hyper terminal to send commands over RS232 to the GPIB RS232 box and from the box to the device by GPIB.

the device is an Advantest Extreme Handler. it does not support the standard GPIB serial poll commands (like RSV or SPE).

what i would like to know is if there is a build in command (for the GPIB converter) that can send me the value of the status byte.

i need to read the first bit, since it tells me the hndler is waiting for an action from my side.

any adeas?

 

regards,,

 

Erez

0 Kudos
Message 3 of 4
(3,620 Views)
There really aren't that many things that we can do to find out the status of your device or the converter. I have found commands to set or clear the status bit, but none to read. Do you think it is possible to send a request for an id to test whether or not your system is ready for a message from you? If this is a possiblity, the command for this is id\n. If possible can you post the manual to your device, maybe there is a command that we may have missed

Regards,
Can Wong
0 Kudos
Message 4 of 4
(3,599 Views)