Join Mailing List

LabVIEW with Linux

These simple applications allow you to use LabPro for data collection and output control in the Linux operating system. LabPro must be connected to the Linux computer via a serial cable. Note: Linux supports use of a LabPro connected via the serial port only.

Two download options may exist:

Program - Download if you are running LabVIEW™ software and want to see the program and source code. Run the program, examine the code, make modifications, and/or customize.

Stand-alone Application - These are software programs (developed with LabVIEW software) that work with the Vernier LabPro. They contain all of the features and functionality as described above. To run, all you need is the free LabVIEW 6.1 Run-Time Engine installed on your computer.



Name Description LabVIEW 6.1 Program LabVIEW 7.0 Program App
LabPro Toolkit Create simple to advanced custom LabPro programs using this palette of VIs as your building blocks. 2.35 MB 1.46 MB  
Analog Data Collection Collect, save, analyze and compare data from analog probes. Introduces the state machine programming architecture. 429 KB* 429 KB* 1.2 MB
Function Generator This application gives LabPro the ability to generate analog output signals. With it you can turn your computer and LabPro interface into a fun and useful function generator. 402 KB* 402 KB* 0.1 MB
Learning LabVIEW These are a series of nine examples that use real data collection to show some of the basics of LabVIEW. 427 KB* 427 KB*  
Real Time Collect Collects analog data from up to four sensors at rates up to 50 readings per second. The data is graphed as it is collected. A data table is displayed and the data can be exported as a file. 0.7 MB   0.2 MB
Fast Analog Collects analog data from up to four sensors at rates up to several thousand readings per second. The data is graphed after all data is collected. A data table is displayed and the data can be exported as a file. 0.5 MB   0.2 MB
Simple LabPro Applications These are simple data collection and control applications for use with LabPro. Go to Simple LabPro Applications to download the LabVIEW 5.1 program. 1.0 MB
* Requires the LabPro Toolkit to be installed.

User needs rights to serial port:

You will also need to make sure that you have access to the serial ports of the computer being used in order for the LabPro VIs to work. With Linux, not all users automatically have access to serial ports. The root user will need to provide this access. Here are the specifics of how we did this, to give you an idea of what is involved.

For COM1:

chmod a+rw /dev/ttyS0

For COM2:

chmod a+rw /dev/ttyS1

The above commands will make the serial ports world-readable and world-writable, so any user can access them.

Instructions for using source code:

Enter the following string at the command prompt:

tar -zxvf {filename}.tar.gz

This will create a folder at the same level as the archive file including all the VIs and sub VIs.