Query IQ Data from Signal Generator
See original GitHub issueHi,
I would like to pull IQ Data from the Signal Generator (Agilent Technologies, N5182A (Option 654), MY50140960, A.01.85).
According to the manual (as below), I can query using :MEMory:DATA:IQ? "<file_name>"
syntax.
Have written the below code to pull the IQ of waveform_file
already in the Signal Generator.
IP_SG = '10.10.100.131'
rm = visa.ResourceManager('@py')
inst = rm.open_resource('TCPIP::'+ IP_SG + '::INSTR')
inst.timeout = 30000
print("Session ID : %s" % (inst.session))
print("Instrument identification information : %s" % (inst.query("*IDN?").rstrip()))
data = inst.query_binary_values(:MEMory:DATA:IQ? "waveform_file")
Unfortunately getting timeout error, eventhough the timeout is 30s currently.
As the output is not entirely float, I dont think it require for a datatype
or is_big_endian
to be specificied in the inst.query_binary_values()
. I even tried inst.query()
which results in the same timeout error.
Do you happen to face the same problem before?
Saravanan K
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Query IQ Data at Signal Generator - Keysight
Query IQ Data at Signal Generator. Hi,. I would like to pull IQ Data from the Signal Generator (Agilent Technologies, MXG N5182A (Option...
Read more >How to automatically transfer IQ-data from FSVR Spectrum ...
This Python example shows how to transfer an IQ-data file from Spectrum Analyzer to the controller PC and open it with VSE signal...
Read more >Signal Generators Creating and Downloading Waveform Files
This manual explains how to create Arb–based waveform data and download it into the signal generator. This information is also available in the...
Read more >Performing IQ Data Capture and Playback - YouTube
Learn two methods for RF record and playback, using a real-time spectrum analyzer (RSA) as an RF signal recorder and an arbitrary waveform...
Read more >Reading Inphase and Quadrature (IQ) Data from a Signal ...
Introduction · Requirements · Define Measurement Parameters · Parameter Definitions · Connect to the Instrument · Query Instrument Identification Information · Set Up ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If everything works as expected with the other command I would say yes, since the issue appear to be specific to your instrument and command and not directly related to PyVISA or PyVISA-py.
To instal you can first do
pip uninstall pyvisa-py
and thenpip install https://github.com/MatthieuDartiailh/pyvisa-py/tarball/fixes
.