NI Linux Real-Time Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Example of LabVIEW RT code interacting with NI Linux RT through localhost communication

Localhost communication is one way to exchange data between NI Linux RT and LabVIEW RT code. Below, is a Shell Script and LabVIEW project that exemplifies NI Linux RT command line interface sending/receiving data to/from LabVIEW RT through TCP socket.

Steps to execute:

     1. Copy the waveform script to a NI Linux RT diretory

         Help: Using WebDAV to Transfer Files to Your Real-Time Target

     2. In the command line interface give permission to the waveform script

         Help: How Do I Acess the Shell on a NI Linux Real-Time OS Device

                   chmod description

     3. Run RT_waveform_generator.vi on you NI Linux RT target

     4. Set and get waveform parameters in the command line interface and observe the graph in the VI front panel

Screenshots:

Script help

img_001.jpg

Setting waveform parameters

img_002.jpg

Download All
Contributors