Using the USB-845x API Functions in a C/C++ Program

Updated Feb 11, 2018

Reported In

Hardware

  • USB-8451
  • USB-8452
  • USB-8451 OEM
  • USB-8452 OEM

Software

  • LabWindows/CVI Base

Programming Language

  • C
  • C++

Issue Details

How do I use my USB-845x with a C/C++ Program?

Solution

When installing the NI-845x drivers, check that the LabWindows/CVI Support option is checked. Once installed, you can find example programs on calling the NI-845x API from the following directory: Start Menu >> All Programs >> National Instruments >> NI-845x >> Examples.

Similarly, you can find documentation on function definitions in the Documentation folder.

Additional Information

You can find ni845x.dll in the <Windows>\System32 folder (for x86 systems) or the <Windows>\SysWOW64 folder (for x64 systems) in Windows. The header file, ni845x.h can be found at the following directory: <Program Files>/National Instruments/Shared/ExternalCompilerSupport/C/include



 

WAS THIS ARTICLE HELPFUL?

Not Helpful