Supported Devices#

Acqusition#

Generation#

Hardware-Specific Installation Instructions#

LDAQ.national_instruments.NIAcquisition[source]

Acquisition class for National Instruments devices via nidaqwrapper.

A thin wrapper around nidaqwrapper.AITask that satisfies the BaseAcquisition contract. Supports both programmatic tasks (AITask objects) and tasks defined in NI MAX (task name strings).

Parameters:
  • task (nidaqwrapper.AITask or str) – Either a fully configured AITask instance or the name of a task saved in NI MAX. When a string is supplied the task is loaded via nidaqwrapper.get_task_by_name().

  • acquisition_name (str or None, optional) – Human-readable name for this acquisition source. Defaults to the underlying NI task name when None.

Raises:
  • ImportError – If the nidaqwrapper package is not installed.

  • TypeError – If task is not an AITask instance or a string.

Examples

Wrap a programmatically created task:

>>> ai = AITask("my_task", sample_rate=10_000)
>>> ai.add_channel(...)
>>> acq = NIAcquisition(ai)

Load a task saved in NI MAX:

>>> acq = NIAcquisition("MyNIMaxTask")
LDAQ.flir.FLIRThermalCamera[source]

Acquisition class for FLIR thermal camera (A50).

This class is adapted from examples for thermal A50 camera provided by FLIR, found on their website (login required): https://www.flir.com/support-center/iis/machine-vision/downloads/spinnaker-sdk-download/spinnaker-sdk–download-files/

Installation steps:

  • Install Spinnaker SDK (i.e. SpinnakerSDK_FULL_3.1.0.79_x64.exe, found on provided link)

  • Install PySpin (python wrapper for Spinnaker SDK). On the website listed above, there are multiple build wheels listed under “Lastest Windows Python Spinnaker SDK”. Choose the one that matches your python version and architecture (i.e. spinnaker_python-3.1.0.79-cp310-cp310-win_amd64.zip for python 3.10 64-bit - this is also the version used for development of this class)

LDAQ.digilent.WaveFormsAcquisition[source]

This is a class for acquiring data from Digilent Analog Discovery 2, using WaveForms SDK.

To use this class, you need to install WaveForms found on this link: https://digilent.com/shop/software/digilent-waveforms/

Installation instructions:

  • Download WaveForms from the link listed above.

  • Install WaveForms.

LDAQ.basler.BaslerCamera[source]

Acquisition class for Basler camera using pypylon library.

Link to required programs: https://www.baslerweb.com/en/downloads/software-downloads/#type=pylonsoftware;language=all;version=7.3.0

Installation steps:

  • Download and install pylon 7.3.0 Camera Software Suite Windows software and choose developer option during installation

  • Install python library with pip install pypylon