Python Support for the NI-845x Devices

Updated Sep 18, 2024

Reported In

Hardware

  • USB-8451
  • USB-8452

Driver

  • NI-845x

Issue Details

Does a Python API exist to develop Python code that directly interfaces with the NI-845X?

Solution

Currently, there isn't a Python library that can be used with 845X devices.

Additional Information

You can find a C API that can be used to program the device.
It may be possible to use the provided DLL with the help of  Advanced Scripting in Perl, Python and Tcl. This way of using the driver is not officially supported, meaning it has not been tested and full functionality is not guaranteed. The header file can be found at either of the following two locations after you have installed the NI USB-845x drivers:
C:\Program Files (x86)\National Instruments\NI-845x\MS Visual C​ or C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\include

Note: If you wish to use 32 bit Python ensure that the Python version is 3.8+ as previous versions don't properly work with the DLL.