LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 10401

 
Whenever I attempt to use the analog input vi's (such as AI Sample Channel, AI Acquire Waveform, etc.), then go to run the application Error message 10401 pops up: "Error 10401 occurred at AI Group Config."  I'm able to set up equivalent code using the DAQ assistant feature and the applications runs perfectly fine.  But every time I try to write the code myself using the vi's I just always get this same error message.  I'm very inexperienced with using Lab View and MAX so I haven't been able to find a solution and was wondering what I might do to fix it.  Thanks for any help you can give.
0 Kudos
Message 1 of 2
(3,006 Views)
AI Sample Channel and AI Acquire Waveform are functions in the old traditional DAQ driver. The DAQ Assistant uses the newer (and better, imho) DAQmx driver. You should look at the DAQmx low level functions. There are numerous shipping examples. You can also (depending on the version) right click on the Assistant and select Gnerate DAQmx Code or right click on it and select Open Front Panel to view the DAQmx functions that the Assistant is using.
 
Your other option is to switch to the traditional DAQ driver but then you won't be able to use the DAQ Assistant.
0 Kudos
Message 2 of 2
(2,999 Views)