Example Code

Using Python for Rapid Prototyping

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Multifunction I/O Device

Code and Documents

Attachment

Description

Now, I like LabVIEW just as much as the next guy. However, it does come with a pretty heavy price tag and all the installation hassles.

What we have discovered is that quite a bit of a very quick prototype development can be made using simple open source tools.

 

The attached Python code contains a simple example of collecting measurements from NI USB-6210.

It uses standard Python 2.7. Pyplot from matplotlib. And the NI-DAQmx library provided with the device.

 

-Ilya.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors