This error normally occurs when the board is not correctly installed and configured in the computer. It is pretty hard to tell exactly what the error might be if I don't have more specifc information, such as:
Driver Versions? Function that is returning the error code? Previous functions called? Board was properly configured in MAX? Works using Test Panels?
If you have further questions and want to start a formal Techinal Support Request, please go to our web page www.ni.com/ask and select the link E-mail NI-Engineers in order to initiate the generation of a Service Request Number for you.