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,