Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Read: WinNT Ok. WinXP Error -1073807339. Ex Attached



  
Program as attached.  Perfectly fine with WinNT machine. XP has -1073807339 VISA read error

Simple VISA Write/Reads with a GPIB instument (Tenney Temperature Chamber).
Sequence is:
Communicate Command   (e.g. *IDN?, ? C1 --> XP gives error -1073807339 on  '? C1' )
Query Error 1                      (e.g. ? ER1 --> XP gives error -1073807339 on '? ER1')
Query Error 2                      (e.g. ? ER2 --> XP gives error -1073807339 on 'ER2')

Interesting thing is,
when '? ER1' is queried as --> "?ER1;*IDN?", then no error
when '? ER2' is queried as --> "?ER2;*IDN?", then no error

Anyone help/clue?

Thanks
regards




0 Kudos
Message 1 of 3
(3,350 Views)
Hello,

The error you are receiving is a timeout error. These usually occur when an instrument is expecting a termination character (such as '\n', '\r', etc), and it doesn't receive one.  I noticed you don't have any termination characters in the commands you are sending; does your instrument require one? You mentioned that you don't get an error when you send "?ER1;*IDN?". Do you get the expected response though?

What versions of NI-VISA do you have on the NT and XP computers? I'll suggest responding with two NI-Spy captures; one from the NT system that works, and one from the XP system that doesn't work. The link here has information about performing good NI-Spy captures.  I can take a look at those to see what the difference is between the two systems. Hope this helps!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 2 of 3
(3,341 Views)

Hello Ebele.

Certainly appreciate your help. & Apology for delay in response back.

When vendor interaction started on this problem (via email), we noticed that certain connections/switches on the interface board of the equipments were missing/misplaced. After I performed the corrections, this started workin for us.

NI SPY certainly is a thing to consider & thanks for indicating it.

best regards

Sandeep

 

 

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