07-24-2013 12:03 PM
Hi All,
I'm trying to get started programming my NI-USB 8451 with the NI USB 845x driver.
What I am trying to do is simply retrieve some of the error and warning messages from the driver. As instructed in the Hardware and Software manual for the NI USB 845x, I am making a call to
ni845xStatusToString
However, for any error code (valid or invalid), I get the following string back from the driver:
NI-845x: Unable to decipher status code 0xfffb6528 (<errorCode>). Error -1 - Directory not found.
where I see the supplied error code in <errorCode> above.
This makes me think that some type of dictionary or "Directory" that is external to the driver is not available on my system. Is this the case?
I have the 64-bit driver installed on my machine. This is further consolidated by the fact that all the other functions (ni845x*) work as intended and I am able to communicate with the device.
Can anyone help me understand why I cannot retrieve the error strings or warnings strings?
Your response is greatly appreciated.
Thank you!
Sincerely,
Ishrak Khair
Instrument Control Toolbox
MathWorks
07-24-2013 12:19 PM
What LabVIEW version?
07-24-2013 12:21 PM
Thank you for your response.
I am coding this using the MS Visual C API.
I'm also able to see that I have the following file:
C:\Program Files\National Instruments\Shared\Errors\English\NI-845x-errors.txt
Looks like this is the dictionary file. However, my application cannot find it (it's 64 bit).
-Ishrak
07-24-2013 03:12 PM
That is odd that your application has trouble with it.
LabVIEW does not but, if you are seeing the error you reference update the driver its in the known issues resolved for 2.1.1
Are you trying to open the error file from an additional process? The driver is limited having no "Multi-Process Support"
07-25-2013 12:32 PM
Ishrak, Thank you for bringing this to our attention. We have reported the problem and have created a Corrective Action Request for it. For help with this issue, please contact ni.com/support and reference CAR #419284
National Instruments