Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

HP3562A Signal Analyzer communication over GPIB: data array missing values

$
0
0

Hello!

 

I am working with the HP3562A Signal Analyzer over a gpib-usb converter called Proligix. I am coding in python as well. The Prologix came with a easy to use python module to write commands to the GPIB and output the data.

 

I am trying to get the data in the form of ansi-floats, using the command "DDAN". The output array contains all of the header values, but not all of the data. For example, the Programming Manual says that for the frequency response trace, the array should contain 13344 bytes, but the outputted array only contains around 3520. The number of bytes in the array also changes every time I pass the command DDAN (ranged from 3520 to 3560 normally), but it is always around 3520 no matter what measurement is currently being used. The prologix python module does include a waiting parameter, which tells the python program to sleep for 0.1 seconds by default, but changing this parameter does not effect the output array length.

 

I am not sure what to do here, so I would appreciate any suggestions!

 

Thank you!


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>