Posted Sat, 14 Oct 2023 05:39:43 GMT by N, Sowmya
SAVe:IMAGe command is not working. I wanted to capture screen image remotely through ethernet communication. I tried SAVe:IMAGe command it is not working. HARDCopy STARt command also not working in TBS 2000B SCOpe
Please guide me how to take screen shot and save it in a computer .
Posted Wed, 18 Oct 2023 21:44:42 GMT by Xu, Iris

Hi Sowmya,

Are you able to ping the scope at all or get a response with *IDN? when sending your SCPI commands? Are you sure you're saving them with the right formatting and syntax for the file path?

The save screenshots, I typically use TekScope Utility. https://forum.tek.com/viewtopic.php?t=140382

You'll need NI-VISA for the .NET drivers required to recognize your scope as well. https://www.ni.com/en-us/support/downloads/drivers/download.ni-visa.html

-Iris

Posted Thu, 19 Oct 2023 05:37:22 GMT by N, Sowmya
Hi Iris thank you for the reply,
I can able to ping the scope other commands are working. following commands not are working.

SAVe:IMAGe \"usb0:/EVAL.JPG\"
FILESystem:READFile \"usb0:/EVAL.JPG\"

I wanted to capture screen images and screen settings over ethernet. 
Posted Fri, 20 Oct 2023 06:11:21 GMT by N, Sowmya
Hello Iris,

We were using putty app for sending scpi commands. It is not working.  Do you mean to say NI-VISA  drivers required for this also?
We also tried to use Tektronix application "Open Choice Talker listner".  It is also not working.

Our requirement is to capture screenshots over ethernet to our .net application.  We are checking the scpi commands before writing the code.  Could you point us to right procedure to do the same.

Regards,
Sowmya
Posted Fri, 20 Oct 2023 17:29:44 GMT by Xu, Iris
Hi Sowmya,
I checked today with TekVISA Openchoice Talker/Listener and the syntax for SAVE:IMAGE is actually WITHOUT the usb0 in the filepath. So the command you would send is:
SAVe:IMAGe "eval.jpg" 

I will send the edit along to the manuals team so it's correctly documented in the programming manual.

If you're using .NET drivers, you will need NI-VISA.

-Iris
Posted Fri, 20 Oct 2023 17:31:08 GMT by Xu, Iris
Also please make sure you format the file with 
SAVE:IMAGE:FILEFORMAT JPG

It will not automatically recognize .png/.bmp/.jpg while saving.
Posted Sat, 21 Oct 2023 08:49:21 GMT by N, Sowmya
Hi Iris,

SAVe:IMAGe "eval.jpg"  command is working now I can save the screenshot to USB. Please guide me how to transfer screenshot file from USB to PC. I tried FILESystem:READFile \"usb0:/EVAL.JPG\" command it is not working. let me know the correct command to transfer file. 
Posted Sat, 21 Oct 2023 10:00:00 GMT by N, Sowmya
Hi Iris,

I also tried following commands to read file

FILESystem:READFile \"usb0:/EVAL.JPG\" 
FILESystem:READFile "EVAL.JPG" 
FILESystem:READFile "usb0:/EVAL.JPG" 
FILESystem:READFile "usb0:EVAL.JPG" 
FILESystem:READFile "usb0/EVAL.JPG" 

Read error is showing in Tektronics Openchoice Talker/Listener. what is the correct syntax for this command or any other way to do the same.
Posted Sat, 28 Oct 2023 09:53:23 GMT by N, Sowmya
Hi Iris,
Expecting your replay for the above. We are running out off time
Regards

 
Posted Thu, 02 Nov 2023 21:31:13 GMT by Xu, Iris
Hi Ramesh,
You can save the screenshot, you just need to send a scope.read_raw() after the FILESYSTEM:READFILE command because it sends binary data to the PC.

Best,
Iris Xu

You must be signed in to post in this forum.