LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tektronix 3054B Screenshot

Hey

 Did you get it working? I am struggling with timeout error in my TDS3034B scope.

 

Thanks

0 Kudos
Message 21 of 33
(2,231 Views)

Try this code, it work with DPO4034 and DPO3034.

 

Ben64

0 Kudos
Message 22 of 33
(2,224 Views)

Hello,

 

Try adding *WAI command after starting the Hardcopy. The command description has a not referring to use *WAI command (Please find the attached image).

TDS3054 Hardcopy start

 

Note:

I got timeout error if the folder path given to "VISA Read to File" function is not available. So i did a check and create folder before the "VISA Read to File" function.

 

Let me know if this makes sense.

 

Thanks,

Davidson

0 Kudos
Message 23 of 33
(2,205 Views)

Hello,

 

Thanks for the reply. I have attached program that I am using. I tried everything but I get Timeout error.

 So when I add HARDCopy? Command I don't get timeout error but I don't see any picture on file.(Failed to generate preview).

My Scope is TDS3034B and I am accessing it through Ethernet.

It would be great , If somebody can help me with that.

 

One more thing, When we type IP address of  Scope on computer and save waveform manually. We specify path manually and save it as bmp any other format. Here we are using VISA read to specify that path. Am I right?

 

Thanks

 

0 Kudos
Message 24 of 33
(2,151 Views)

Hello,

 

Attached is the modified VI with the following changes.

Let me know if this works.

 

1. I removed a space in the command "HARDCopy:PORT ETHERnet" before the string PORT
2. Included check and create folder to make sure the folder is present.
3. Increased the byte count for save function.
4. Timeout configuration included
5. Disabled Hardcopy?
6. Included "*WAI" command -  To make the instrument wait until the harcopy data is put in the interface requested.

 

Thanks,

Davidson

0 Kudos
Message 25 of 33
(2,138 Views)

Hi Davidson,

 

Thanks for your help.

Sorry for long delay. I got it working with (using yore posted code) GPIB connector But it does not work with Ethernet port. Even I specify PORT as Ethernet.

So I got scope with GPIB and I am good to go. But I would love to know the reason.

 

Thanks again.

0 Kudos
Message 26 of 33
(2,048 Views)

Hi Analog_lab,

 

Would you mind expanding on what you mean by specifying the Port as Ethernet?

Regards,

Hassan Atassi
Senior Group Manager, Digital Support
0 Kudos
Message 27 of 33
(2,021 Views)

Hello,

 

I have attached  my program  and in that you can see string input , specified HARDcopy: Port GPIB. I was talking about that Port.

I hope , I am clear.

 

Thanks

 

0 Kudos
Message 28 of 33
(2,002 Views)

Please do not upload bitmap images.  Although you called it a .jpg, it is actually a .bmp.  They are banned for a reason.  Because they create unnecessarily  large files that are slower to download.

 

Please attach a real .jpg file, or better yet, attach a .png which gives a good image without the compression artifacts of jpg, but much, much smaller than a bitmap.

0 Kudos
Message 29 of 33
(1,980 Views)

Please check whether any termination characters are expected in the ethernet communication.

 

I think the serial and ethernet communication will need the termination characters configured.

Refer serial initialization for details on the termination character.

 

I have not verified that in the instrument. If possible, do the serial initialize and try the same VI again. Just a try..!!

 

Thanks,

Davidson

0 Kudos
Message 30 of 33
(1,967 Views)