I want to transfer images stored in an oscilloscope to a PC with Python.
We have saved the image, but we are inquiring about how to transfer the image file to the PC.
attach my code
inst=rm.open_resource("blahblah::INSTR")
inst.write("*IDN?")
print(inst.read())
# image capture (Success)
inst.write(':DISK:SIM "IMAGE",BMP,SCR,ON,INVERT')
#???????????????????????????????????????????
inst.write(':MMEM:STOR:SCR "myscreen.png"')
inst.write('MMEM:DATA? "C:\\Workspace\\", B')
inst.query("*OPC?")
data=inst.read_raw() ## problem ##
#???????????????????????????????????????????
There seems to be a problem in the code between the question marks. Especially in the read_raw section time error occurs.
There is also a question as to whether the command is supported. The user guide does not seem to provide the export command. I did not find any command when I searched for the word transfer or export.
The oscilloscope I use is the 54831D MOS.
If you know anybody, please help me. Thank you for reading.