Keysight 下载信源 Visa 指令
用于传输原始的IQ数据 file.wiq 或者 file.bin
wave_bin:bytes
with open("./WaveForm.wfm","rb") as f:
wave_bin = f.read()
log.info("File:WaveForm.wfm Size:%d Bytes"%len(wave_bin))
IMPL.sendCommand(":MEM:DATA \"WFM1:FILE1\",#%d%d"%(len(str(len(wave_bin))),len(wave_bin)))
IMPL.RawWrite(wave_bin)
IMPL.RawWrite("\n")
FILELIST=IMPL.query(":MMEMory:CATalog? \"WFM1:\"")
print(FILELIST)
FTP 方法
源有加密和非加密;存放时需要区分不同的播放路径