Posted Wed, 24 May 2023 02:02:44 GMT by Timm, Carter
Update:<br> It seems like SAVE:IMAGE &quot;C:/temp.png&quot; is hanging. I've increased the timeout to 60+ seconds, and it still times out.<br> I've also tried SAVE:IMAGE &quot;temp.png&quot;, same issue.
Posted Wed, 24 May 2023 18:42:42 GMT by Timm, Carter
Update 3:<br> <br> I didn't mention this in Update 2, but the SAVE:IMAGE &quot;E:/temp.png&quot;; command does indeed save a screenshot. However, this means I need to physically remove the USB drive from the scope and read from the USB drive with my PC -- far from ideal.<br> <br> I've since forced reinstallation of the scope firmware and the same issues are still present. HARDCOPY START doesn't send anything over USB, and FILESYSTEM:READFILE &quot;E:/temp.png&quot; also does not send anything over the USB VISA interface.
Posted Thu, 25 May 2023 19:26:10 GMT by Timm, Carter
Update 4:&#160;<br> <br> Figured out the issue - was a bug in my own code that somehow only manifested when reading binary data like screenshots or files directly from the scope.<br> <br> All works fine now.<br> <br> The method I'm using to read screenshots is:<br> SAVE:IMAGE:FILEFORMAT PNG<br> HARDCOPY START<br> &lt;read binary data from scope&gt;<br> &lt;save that data as .png&gt;<br> <br> Note that if you do set<br> HARDCOPY:ACTIVEPRINTER &quot;PictBridge&quot;<br> before running<br> HARDCOPY START<br> everything still works as expected.<br> <br> One thing I have noticed is that sometimes the mouse pointer is included in screenshots, sometimes not. Still not sure what causes that or how to enable/disable the mouse pointer showing up in screenshots, but I'm calling this a win for now.

You must be signed in to post in this forum.