I am trying to programmatically capture screen shots remotely from the Keysight MSOS104A oscilloscope. I used the SCPI command "DISP:DATA? BMP,GRATicule"? and tried writing to and reading from the scope but could not get a picture file readable by my computer's operating system (Windows 7 Enterprise SP1).
The attached LabView code uses the SCPI command "DISP:DATA?\sBMP,GRATicule" (with an "\s" inserted as a space character). After opening the file "test13.bmp" Windows 7 reported an error message "Windows Photo Viewer cannot open this picture because the file appears to be damaged, corrupted, or is too large."
Any ideas on how to programmatically capture a screen image from the Keysight MSOS104A oscilloscope?