question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Query IQ Data from Signal Generator

See original GitHub issue

Hi,

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.

image

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.

image

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:closed
  • Created 6 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
MatthieuDartiailhcommented, Feb 27, 2018

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.

1reaction
MatthieuDartiailhcommented, Feb 16, 2018

To instal you can first do pip uninstall pyvisa-py and then pip install https://github.com/MatthieuDartiailh/pyvisa-py/tarball/fixes.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found