LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2000: Strange timeouts

Halloechen!

I have to read multiple values from a Keithley 2000 (DC volts data),
and even that has to be done multiple times. So I did the
following:

1. ke2000 Initialize.vi

2. ke2000 Configure DC volts.vi (no parameters, only "DC Volts"
selected from the pull down menue)

3. In a loop:

a) ke2000 Configure Trigger.vi with a proper calculation of the
timeout (taken from a Keithley example code)

b) ke2000 Data Read Multiple.vi (with the correct number of
readouts)

c) ke2000 Reset.vi

4. ke2000 Close.vi


Unfortunately, with this programming I get timeouts regularly.
Well, not always but every other measurement say. If I increase the
timeout time, it simply takes longer, but the timeout is inevitable.
When it
happens, the Keithley seems to be unable to leave 3 b).

Then I created a WHILE loop that repeats the measurement if there
was a timeout. But the loop is repeated until I stop the program.
However: If I take the initialisation vi *within* the loop, it
works! I still get timeouts, but now it cleanly repeats the
measurement and proceeds.

But this is neither elegant nor fast. Apparently some delays are
missing. Does anybody know where to put them? Where is the
critical phase for the instrument?

Or is it something different?

Thank you!

Tschoe,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus
0 Kudos
Message 1 of 5
(2,893 Views)
I find this rather interesting. I ahve some older drivers for the KE2000 and they work without problem. But when I seen your question it rasised an interest because you said DC volts from the pull down. I went and downloaded the drivers from NI and installed them wrote just a simple program from them and sure enough the problem is there just like you said it was. I also found that if you do not use the initialize vi it works fine without the timeouts. Seems that the initialize vi is putting the instrument in a funny mode. Anybody have any Idea of wht this is happening.Will do some investigating and get back to you.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(2,893 Views)
With the instrument that I have if I set the ID Querry and reset to false I do not get the timeouts that I Received whrn they were on maybe it something to do with the model numbers.

Try setting the id querry and reset to false on yours and see what happens.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 3 of 5
(2,893 Views)
another thing that I just found out was that the reset vi is the culprit for me. I just set only the reset to false on the initialize vi and it did not give me the timeouts. I then built a small vi wit the rest vi in it and it gave me timeouts intermittently. I think the culprit is the reset vi. hope this helps you solve your problem.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 5
(2,893 Views)
I also built a VI with Reset. I am unable to reproduce this timeout issue.
What firmware are you using?
I have A12 /A02 (Intr. Drv. REV 2.0.0 10/2003)
Does this match your system?

Matt
0 Kudos
Message 5 of 5
(2,893 Views)