LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error-1073807339,Timeout expired before operation completed

Hello,

I have a continuous error occurring,

I have tried instrument timeout although I don't show that in the below code.

Increasing Instrument timeout did not seem to make any difference.

This is a Ethernet connection - Vektrex SpikeSafe SMU, Windows 10- LabVIEW 2020 32 bit

How would I be sure that my query is not being interrupted prematurely & clear the error  ?

 

LED47_0-1701887883648.png

 

0 Kudos
Message 1 of 4
(645 Views)

1. You should probably have a wait after the reset to allow the instrument time to reset before sending the next command.

2. Is the MEMORY:TABLE:READINGS supposed to be a query?  If so, you are missing the question mark at the end.  Also, you should be performing a read immediately after the sending of the query to make sure nothing else is getting in there are you.  If it is not a query, I would have to find the manual to figure out what you are doing there.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(583 Views)

2.5.1 Get SpikeSafe Status
This query obtains status information for all channels and the module itself. The data format used for readings
is described below. The readings reported are voltage and current, with present channel on/off status added to
the end of each channel’s information. Also included in this data are the 4 heat sink temperature readings in
degrees Centigrade. The entire message is a single string that has a max length of 299 bytes.
NOTE: SS400 model varies between 1 to 8 channels but will always report 4 heat sink temperatures. SS400
Mini or PSMU is always 1 channel and will always report 1 heat sink temperature.
NOTE: On average this query takes between 5ms to 18ms to respond varying based upon the SS400 model.
Syntax
Query MEMory:TABLe:READings

 

even though they call it a query ,I don't see the ? 

 

Well thank you for the response you got me thinking I might try to break up the two queries and do them separately so I may have some fundamental code error here.

 

I'll post again if I get a solution...

 

0 Kudos
Message 3 of 4
(577 Views)

LED47_0-1702060278487.png

above is what I ended up with, decreasing the count in the re-statement seem to get rid of the timeout error

I put the reset in there because I thought I might want to have it handy when this gets integrated into the grand scheme of things but I probably won't use it anyway

 

Thanks again for responding to me

0 Kudos
Message 4 of 4
(551 Views)