I would like to pull IQ Data from the Signal Generator (Agilent Technologies, MXG N5182A (Option 654), MY50140960, A.01.85).
According to the manual (as below, refer: http://literature.cdn.keysight.com/litweb/pdf/N5180-90004.pdf ), 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.
I tried Matlab instead and the below syntax too gives a timeout which has been also set to 30s.
data = query(signalGeneratorObject,':MEMory:DATA:IQ? "waveform_file"');
How do one query the IQ data in the Signal Generator for a specific waveform file?
Hope you can guide.