Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Computers hangs when reading the Spectrum Analizer's GPIB

Only happends when reading from the Spec Analizer, doesn't happend with any other instrument, and only when reading, writitng to the Spec. Analizer works fine. Actually it also hangs when sending a query command to the Spec Analizer.
0 Kudos
Message 1 of 2
(3,090 Views)
If you don't have troubles with other instrumets, problem is in your spec. Analzer. Can you query for example: *IDN? This should be work every time. If this command is supported and it does not work, something is wrong in configuration of your insrtrument.

Some spectrum analyzers especially Rohde&schwarz does not return any data when data are not valid. For example: if you have wrong configuration and measurement is out of range and measurement values are not valid, instrument does not return any value. But in this case you should be received timeout error. In this case you can check message available bit before read function.

I'm not sure, if I help you.

Zdenek
Message 2 of 2
(3,090 Views)