10-25-2019 06:51 PM
I'm getting an Invalid Task error (-200088) when trying to create an AI voltage channel on a PXIe-6341 card. I've attached a sample Python script which triggers the error. I checked NI-MAX and the test panel there can read the voltage I'm trying to read. The script has previously been running correctly, but has started triggering this error recently. I suspected a driver issue, as we recently upgraded the computer it's on to Windows 10, but reinstalling the drivers and NI-DAQmx had no effect. Anyone have any suggestions for what may be causing this error?
Solved! Go to Solution.
10-28-2019 11:24 AM
Figured it out... Turns out that the new version of DAQmx returns the task handle as a 64-bit integer rather than 32-bit, so the solution is simply to change the data type of the task handle variable to 64-bit.