Hello;
I don't have detail on what exactly you are trying to accomplish there.
Can you give me more details such as what board you are using, what you need to accomplish, etc?
Meanwhile, the error -10401 occurs if you are trying to address a device that is not present. If MAX cannot see the DAQ card or you have changed the device number of the card, you will get this error. So, I recommend you first use MAX to do basic testing with the board, and check if the device number you are setting at the LV VI corresponds to the device number MAX assigned to that board.
Hope this helps.
Filipe