LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timeout issue with LeCroy Wavesurfer 44Mxs

I am using LabVIEW and Lecroy Wave Surfer 44MXs- B. I am using TCP/IP. I do see scope in MAX. but when I run example problems that came with the driver, I am getting time out error. I did try to increase the timeout time but it does not help. By single stepping I see when execute read vi, its generating error. Anyone has the similar issue? Please help

0 Kudos
Message 1 of 3
(3,564 Views)

Hi Hasan81,

 

Since TCP is a connection based protocol, a timeout error is indicating that a connection is not being made, or more specifically, that your device and your computer are unable to talk to each other. Since the request is being initiated through the computer, it is likely that the problem is that your configuration (port #s) etc that you are trying to talk to is not what your device is expecting. I would double check the specs of your instrument, and then write a simply VI that merely connects and disconnects just to prove that you can talk to the instrument.

 

On another note, it stands to reason that you would get a timeout error when single stepping because the time it takes to step through code manually often greatly exceeds timeouts.

Wes Pierce
Principal Engineer
Pierce Controls
0 Kudos
Message 2 of 3
(3,544 Views)

Hello Hasan81,

 

Sorry for the delay in responding, I have been away from the office.

 

You are getting a time out error from the read.vi.  What is the top level VI that is using the read.vi?  Since the error is a timeout, this indicates that you have made your connection and passed a valid reference to the VISA read.  The timeout error is being caused by attempting to read data from the scope that is not there.

 

This can be caused by attempting to read before the scope has put the response data in the buffer.

 

I suspect that this is a 'synchronization' issue.  There is a section in the remote control manual that will help:  TeledyneLeCroy Remote Control Manual  Page 27 (printed page numbers) and page 33/305 in pdf viewer.

 

I hope this helps!

 

Leonard Brown

Applications Engineer

Teledyne LeCroy

1-800-553-2769

0 Kudos
Message 3 of 3
(3,496 Views)