AnsweredAssumed Answered

N5182A signal generator waveform load

Question asked by auto on Nov 15, 2012
Latest reply on Nov 21, 2012 by tabbott
I try to load and play wafeform (created with Agilent Signal Studio) to MXG signal generator (N5182A) from PC (win7) via LAN connection(Telnet). The waveform file(test1.wfm) located at external USB flash.
My source code look like this(Phyton):

import telnetlib
host = 'XX.XX.XX.X'  #
port = 5025

tn = telnetlib.Telnet(host, port) 
tn.write("SOURce:RADio:ARB:WAVeform WFM1:TEST1")
tn.write("SOUR:RAD:ARB:STAT ON")
tn.write(""OUTP:MOD:STAT ON")

But it doesn't works.I need to help,

Thanks in advance