
sleep ( 0.01 ) # Measuring current_measurements = session. ppmu_source () # Settling time between sourcing and measuring time. ppmu_voltage_limit_low = 0 # Sourcing session. ppmu_current_level_range = 0.000002 session. Session ( resource_name = 'PXI1Slot2' ) as session : channels = 'PXI1Slot2/0,PXI1Slot2/1' # Configure PPMU measurements session. import nidigital import time with nidigital. Source current, and measure both voltage and current using the PPMU on selected channels. The following is a basic example of using the nidigital module to open a session to a digital pattern instrument,
DIGITAL SENTRY 4.1 INSTALL
We welcome contributions! You can clone the project repository, build it, and install it by following these instructions.

Setuptools: $ python -m easy_install nidigital Contributing for NI-Digital Pattern Driver) can be installed with pip: $ python -m pip install nidigital~=1.4.2 Visit ni.com/downloads to download the driver runtime for your devices. NI-Digital Pattern Driver Python API StatusĪs a prerequisite to using the nidigital module, you must install the NI-Digital Pattern Driver runtime on your system. This time this includes Python 3.6 and above using CPython. Nimi-python follows Python Software Foundation support policy for different versions. Nimi-python supports all the Operating Systems supported by the underlying driver.

The driver isĬalled through its public C API using the ctypes Python library. It is implemented as a set of Mako templates and per-driver metafiles that produce a Python module for each driver. NI Switch Executive (Python module: nise)

NI-Digital Pattern Driver (Python module: nidigital) The nimi-python repository generates Python bindings (Application Programming Interface) for interacting with the Modular Instrument drivers. Python bindings for NI Modular Instrument drivers.
