06-21-2024 01:23 PM
Hello folks from NI.
im trying to make a simple VI that reads resistance value from channel 1 in a DMM with a mux card. i downloaded the driver and examples but the values im getting are not the correct values at all, usually more, so not sure if why am getting this off reading as when i use the DMM with mux card manually i get the write results , so my wiring is correct. but when i run my code i get about 10k more than I should.
I'm not sure what the NPLC VI or power lines cycles option does but when i have set to 15 and include it in my VI i get better results (about 1k off)
my wires and cable are neglectable , i measure the values to make sure about 7ohms , while im working in KOhms.
any suggests on what I'm doing wrong?
Thank you
06-21-2024 03:06 PM
I used many Keithley DMMs with MUX cards, but never that one. NPLC is the number of AC power line cycles it will collect for, so 15 will give you 250mSec @60Hz which is fine. Line sync is nice for AC measurements but won't mean much for resistance.
Is that VI an actual shipping example? If you do Help > Find Examples you can search for "Keithley" in the search tab and see if there are any full examples for the 6510 with a MUX. Sometimes there is also an Example sub-folder in the palette. I have the Keithley 27xx drivers loaded and there's an Advanced Scan example. Hopefully there's something similar in your 6510 driver.
I also suggest you connect an error indicator or handler VI to the end of your code, so you don't potentially miss any error info that might help.
There's also some full example code in this post that looks like it might work for you if you don't already have them from your Keithley drivers: Keithley DAQ6510 real time measurements - NI Community
There are probably more posts if you search for them...