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