Keithley 2000 Labview Driver For Mac
Hi all, I'm using Keithley 2000 DMM for resistance measurement using external trigger (0.5-1 Hz) and official LabVIEW driver. Software as in example 'Keithley 2000 Read Single.vi', function: 4-wire resistance, external trigger, 'Action Send Trigger' removed, with while loop over Data Read Single. when using RS232 software hangs after 30-70 triggers, reboot of system is required to establish communication with DMM. It's strange because 'Data Read Single' has internal timeout and it should execute with an error - when using NI USB-GPIB cable software is stable, but reads result twice / trigger, it seems that first read does not clear internal flag in Keithley. Tested on LabVIEW 2017 32 and 64 bit, 2016 32 bit, on two Keithley 2000 DMM, two PCs and two RS232 cables.
Keithley Labview Driver
So how are you doing triggering? How many trigger pulses are you sending, and how many measurements/trigger are you expecting. I don't think you've necessarily setup the trigger correctly on the DMM. I think given the current settings its behaving exactly as expected, just not as you want. What you have setup is 1 external trigger pulse arms the measurement infinite times and allows infinite measurements. So your loop will continue to measure, but if the DMM receives further trigger pulses that may cause some funny issues.
Yes, you've set it to measure on an external trigger but you let all the other conditions go to default values. Look at taking care of the other trigger settings: Trigger Iinit - continuous/single?
Trigger Count mode - Infinite - I think you want finite with count set to 1 (i.e. 1 measurement/trigger) Auto Delay - if speed isn't a concern then this will help with measurement variation. Perhaps look at the manual for the full trigger model to get it to do exactly what you want. Osx dvd hackintosh (leopard, snowleopard, lion, distro/retail. Describe the measurement and triggering fully and we can help debug the code.