Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

can't find Ni845x.dll

Solved!
Go to solution

I'm tring to use the USB-8451 from C++ (or C#).    I've installed the latest driver NI-845x v2.0 on my PC running Windows-7 64-bit.  This KnowledgeBase article on 'How To Access USB-845x API Functions from a C Program' states I can find the Ni845x.dll in the C:\Windows\System32 folder in Windows. I've looked, but it's not there.

 

Where is this dll?  Was it installed someother place or does v2.0 not include the dll?

 

The readme for the NI-845x driver says it supports 'Microsoft Visual C/C++ 6.0 (or newer)' and 'Windows 7 (32-bit and 64-bit)'.

 

Is it possible to access the USB-8451 from C without a dll?

 


0 Kudos
Message 1 of 5
(9,006 Views)
Solution
Accepted by topic author sjborley

Hi Sjborley,

 

I'm Oli from NI UK.  Thanks for your query.

 

On some systems (Windows 7 x64 for example) you will find the DLL C:\Windows\SysWOW64\ folder.

 

In response to your second question, you will require the DLL to access the USB-8451.

 

I hope that answers your questions.

 

Kind Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 2 of 5
(8,995 Views)

Thanks, OLi. It was were you said it would be.

 

Pity the KnowlegeBase article is not up to date, and that the ReadMe.htm does not mention this alternative location.  But I guess that's what this forum is for.

 

0 Kudos
Message 3 of 5
(8,987 Views)

Hi Sjborley,

 

No problem at all!  Glad to help.

 

Thanks for mentioning the KB. I'm in the process of bringing it up to date now.

 

Kind Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 4 of 5
(8,984 Views)

hello Oli,

 

I have similar error message, however the difference is that I am able to locate the NI845x.dll but I get another message as I proceed, I get this error message, 

"the program can not start because NiSpy Log.dll is missing from your computer, try re installing the program to fix this problem"

 

thanks

Shady 

0 Kudos
Message 5 of 5
(5,299 Views)