Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

sporadic error -10401

Hello,

I'm looking for the reason of a sporadic -10401 (unknownDeviceError) error.
We are collecting data with 6 PXI6533 boards in burst mode (5 MHz clock generated by the PXI boards). This works fine, but sporadically the data collection stops for one or more boards. In the better case, we can reset the external hardware of the 'bad' board and the collection continues. If all boards stopp and we restart our program, i.e. we are repeating the whole initialisation, we get the error -10401 for all boards and each NI-DAQ function. Only a system restart helps.
If the error occur not only our program shows it, also MAX is not able to access the boards. It looks like something has 'unconfigured' our boards.
Sporadical means never or once a day up
to several times in a hour.

Thanks for sugesstions
willi
0 Kudos
Message 1 of 2
(3,477 Views)
Willi

Many times, you will get a -10401 error if you are trying to reconfigure the board if you have not reset the DIO group you are using with the DIG_Block_Clear() command and DIG_Grp_Config(). So make sure you are calling both of those if needed. If you knew what function was giving you the error the first time it appears, that may help determine what is causing the error. I would also suggest to make sure you have the latest version of NI-DAQ, 6.9.2. This is not a known issue, though may be related to another that has been fixed.

Brian
0 Kudos
Message 2 of 2
(3,477 Views)