LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling ni845xStatusToString gives: NI-845x: Unable to decipher status code 0xfffb6528 (<errorCode>). Error -1 - Directory not found.

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

0 Kudos
Message 1 of 5
(3,234 Views)

What LabVIEW version?


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(3,229 Views)

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

 

 

0 Kudos
Message 3 of 5
(3,227 Views)

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"

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(3,214 Views)

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

Caleb W

National Instruments

0 Kudos
Message 5 of 5
(3,201 Views)