Transfer Image to PC


This example shows how to transfer an image (screenshot) on the FieldFox to a remote PC.

Note:  In the following example:

"#"  indicates a comment

This example can be copied into a text editor, saved as a *.txt file, and run using the free Keysight Instrument Console program. Learn more.

 

# Store screen to my.png into the current directory on the FieldFox

# The default directory is the userdata directory on the instrument.

MMEM:STOR:IMAG "my.png"

# Transfers the contents of my.png as a BINBLOCK

# The file data that is returned by the 2nd command depends on the programming environment.

# Environments like VEE, Matlab, C/VISA, etc. all deal with BINBLOCK transfers in their own way.

MMEM:DATA? "my.png"

# Optionally delete of file from instrument's local storage

MMEM:DEL "my.png"