LabVIEW

Implementation of programming language G

LabVIEW is native (and the only) implementation of G programming language. It is developed and maintained by National Instruments.

This is not an IDE but rather an engineering tool, not suited for general-purpose programming. As such, it has extensive support for accessing instrumentation hardware — drivers for tools of various types and libraries for processing signals are either included or available for inclusion.

LabVIEW is available on multiple platforms — Windows, Linux and MAC OC-X. However, libraries and drivers support for non-Windows platforms tends to be worse than for Windows.

LabVIEW can produce executables, but they are not really standalone, as they require LabVIEW runtime engine installed.

Examples:

Hello, World!:

Example for versions LabVIEW 10.0

G/LabVIEW is a fully visual programming language, so no source code is available. See screenshot instead.

The block diagram (LabVIEW equivalent of program) for this example consists of only one node — “Display Message to User”, with pre-set message “Hello, World!”.

To create this example, create a new project and a new VI within it. Switch to Block Diagram of the new VI. Navigate to Functions -> Programming -> “Dialog and User Interface”, choose “Display Message To User” control and place it onto the Block Diagram area. Once it’s placed, a configuration dialog will appear; enter “Hello, World!” as the message to display. Save the project and press “Run” to get a pop-up message box. The screenshot shows both the block diagram and the result of its execution.

"Hello, World!" example in G/LabVIEW
"Hello, World!" example in G/LabVIEW