LabVIEW portal

  • Increase font size
  • Default font size
  • Decrease font size
LabVIEW tutorials

In this section you'll find tutorials for beginners as well for advanced LabVIEW developers. Tutorials are divided to categories and sorted in ascending order (see the menue on the left side). To be able to see our video tutorials you need the Adobe Flash Plugin, downloadable for free on the Adobe website: Get Adobe Flash Plugin

If you have some questions or suggestions, you can easy comment the appropriate tutorial or article.

Enjoy that!



Video tutorial: Create EXE from a VI

In this video tutorial you will see how to create an ececutable from a VI and than an installtion routine for that. This video is without sound!
Read more...
 

Publish/Subscribe

Use Case of Publish/Subscribe in LabVIEW

- If you use some parallel loops in your program

- If you want to send messages from one loop to each other loop(-s)

- If your project is large you can see each message, which is send from one loop to other

- If you want to reduce/improve the message traffic between loops, this pattern will help you to filter messages. So a message will be sent ONLY to interested loops

- If you use dynamical parallel loops in your projects

- If you use synchronisation tools and user events to communicate between parallel loops

- If you want to communicate between applications on one or different PCs over Ethernet/Internet

- If you want to create an software interface to applications written in other programming languages

- If you want to debug your application remotely

The best example is a live chat like ICQ, where all clients communicates over www. Each client registers dynamically and receives messages from other clients.A other example is if you have to show/log some data from unknown count of devices and send commands to one or more selected devices.

Read more...
 

Advantages/Disadvantages

Autor: Wikipedia

Link: http://en.wikipedia.org/wiki/Labview 

 

One benefit of LabVIEW over other development environments is the extensive support for accessing instrumentation hardware. Drivers and abstraction layers for many different types of instruments and buses are included or are available for inclusion. These present themselves as graphical nodes. The abstraction layers offer standard software interfaces to communicate with hardware devices. The provided driver interfaces save program development time. The sales pitch of National Instruments is, therefore, that even people with limited coding experience can write programs and deploy test solutions in a reduced time frame when compared to more conventional or competing systems. A new hardware driver topology (DAQmxBase), which consists mainly of G-coded components with only a few register calls through NI Measurement Hardware DDK (Driver Development Kit) functions, provides platform independent hardware access to numerous data acquisition and instrumentation devices. The DAQmxBase driver is available for LabVIEW on Windows, MacOSX and Linux platforms.

In terms of performance, LabVIEW includes a compiler that produces native code for the CPU platform. The graphical code is translated into executable machine code by interpreting the syntax and by compilation. The LabVIEW syntax is strictly enforced during the editing process and compiled into the executable machine code when requested to run or upon saving. In the latter case, the executable and the source code are merged into a single file. The executable runs with the help of the LabVIEW run-time engine, which contains some precompiled code to perform common tasks that are defined by the G language. The run-time engine reduces compile time and also provides a consistent interface to various operating systems, graphic systems, hardware components, etc. The run-time environment makes the code portable across platforms. Generally, LV code can be slower than equivalent compiled C code, although the differences often lie more with program optimization than inherent execution speed.

Many libraries with a large number of functions for data acquisition, signal generation, mathematics, statistics, signal conditioning, analysis, etc., along with numerous graphical interface elements are provided in several LabVIEW package options.

The fully object-oriented character of LabVIEW code allows code reuse without modifications: as long as the data types of input and output are consistent, two sub VIs are exchangeable.

The LabVIEW Professional Development System allows creating stand-alone executables and the resultant executable can be distributed an unlimited number of times. The run-time engine and its libraries can be provided freely along with the executable.

A benefit of the LabVIEW environment is the platform independent nature of the G code, which is (with the exception of a few platform-specific functions) portable between the different LabVIEW systems for different operating systems (Windows, MacOSX and Linux). National Instruments is increasingly focusing on the capability of deploying LabVIEW code onto an increasing number of targets including devices like Phar Lap OS based LabVIEW real-time controllers, PocketPCs, PDAs, FieldPoint modules and into FPGAs on special boards.

There is a low cost LabVIEW Student Edition aimed at educational institutions for learning purposes. There is also an active community of LabVIEW users who communicate through several e-mail groups and Internet forums.