LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO 9076 Kiethley timeout

Solved!
Go to solution

Hello.

 

I am having problems getting my cRIO to control my Keithley 2400. I have the two devices connected through an RS-232 cable. I can find the Keithley using MAX under the Serial & Parallel options and it says the device is working properly. 

 

I open the VISA Test Panel, and in the Input/Output 

 

Write: *IDN?\n

Return Data: Write Operation (*IDN?\n)
No Error

 

Read: *IDN?\n

Return Data:  

Read Operation
Error

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

 

KEITHLEY\sINSTRUMENTS\sINC.,MODEL\s2400,4049517,C32\s\s\sOct\s\
s4\s2010\s14:20:11/A02\s\s/U/K\r

 

 

Why is it giving me a timeout error, and then giving me the expected data? 

 

I'm new to serial programming and still trying to get the basics. 

 

Thank you in advance. 

Roth

 

0 Kudos
Message 1 of 2
(2,560 Views)
Solution
Accepted by topic author RothNRK
It looks like you have programmed for the wrong termination character. The returned string has a carriage return (\r) and your program may be set for a line feed (\n). Change your code or change the instrument's setting.
0 Kudos
Message 2 of 2
(2,557 Views)