Hi,
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(":MEM:COPY /USER/WAVEFORM/TEST1 /USER/BBG1/WAVEFORM/TEST1")
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
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(":MEM:COPY /USER/WAVEFORM/TEST1 /USER/BBG1/WAVEFORM/TEST1")
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
i have
'mem:copy "SNVWFM:
that copies it from nonvolatile wfm memory into volatile wfm memory using the arb commands, rather than just using the filesystem location which is what it looks like youre doing and is probably causing issues.
rest of your commands look good as near as i can tell, but remember that filenames/paths should be in double quotes too.