06-04-2009 11:11 AM
I am trying to communicate to a NI-PXI4065 DMM and I am getting the error -1074130544 (niDMM Configure Measurement Digits.vi<ERR>The session handle is not valid) for some reason. Does it have to do with the instrument handle input going in the niDMM Configure Measurement Digits. vi or not?
I achieved the instrument handle after initializing the DMM with the niDMMIntialize.vi, so I believe the instrument handle that I am using is correct.
Thanks a lot to anyone who can help.
06-08-2009 06:19 AM
Hi Gjoraas,
I'm curious about how your assigning the instrument handle- you'll want to make sure that it matches the name in Measurement and Automation Explorer (that name will be found in Devices and Interfaces»DAQmx Devices- you'll want to use the name in quotations). Otherwise, is it possible that you are running two programs or projects that both use your DMM? If so, you'll want to try only running one program at a time. My last suggestion would be to reset the device in Measurement and Automation Explorer, by right-clicking on it and selecting 'reset device'. Hope this helps, let me know how it goes. Have a great day!