LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10401 occurred at AO Group Config

I am recieving the following error when I run  my code.  Attached is a zip file of my VIs.  Anyone know how to fix this?
 
Error -10401 occurred at AO Group Config
Possible reason(s):
NI-DAQ LV:  The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.
0 Kudos
Message 1 of 3
(3,259 Views)
Hi musser,

To find more information about the DAQ error code -10401, you can go to ni.com and search the DevZone for "error 10401".  This will return a number of links to Knowledge Bases that give possible causes for this error. 

I took a quick look at your FGfinalrev VI to see what you were doing, and it looks like the first VI in your block diagram is an AO Config VI with no input wired to the "device" input.  Since this input defaults to a value of "1", you should look in Measurement & Automation Explorer (MAX) to see if you have a "Device 1" listed under Traditional NI-DAQ (Legacy) Devices.  If so, is this the device you are trying to read from in your application?  I suspect that there is some discrepancy here.  In general, it is a good idea to explicitly wire your device number as an input to AO Config or any other DAQ configuration VI.

Hope this information helps!

Best regards,
0 Kudos
Message 2 of 3
(3,251 Views)

thanks,

that helped, I was able to get it to work

0 Kudos
Message 3 of 3
(3,243 Views)