LabVIEW VI: Virtual Instrument

LabVIEW VIs, or Virtual Instruments are the user interface and contain the code for a particular application.


Logic Probe Tutorial Includes:
What is LabVIEW?     LabVIEW environment     LabVIEW VIs     Programming     Drivers     Example / tutorial    


LabVIEW VIs, or LabVIEW Virtual Instruments form the key element within the overall environment.

The virtual instrument provides a visual method of creating the algorithm algorithm and it can be used on its own or within a larger overall programme. In one aspect, the LabVIEW Virtual Instrument could be likened to a subroutine used in some programming languages.

LabVIEW VI basics

The LabVIEW VI consists of two main elements:

  • VI Front Panel:   The LabVIEW front panel is what the user of the completed application will see. It enables them to interact with the VI, inputting controls and also seeing results. It can be likened to the font panel of a test instrument or other piece of equipment.

    The LabVIEW VI front panel can be built up from scratch using the palette of different controls, indicators and data types.

    LabVIEW VI front panel example
    Example of a LabVIEW VI Front Panel
    LabVIEW VI front panels can be completely customized. By having a totally customized front panel, it is possible to simplify the operation to provide exactly what is needed without unnecessary controls that may not be required.
  • VI block diagram:   The LabVIEW VI block diagram is where the functionality of the VI is programmed in G. The block diagram defines the functionality whilst also providing a visual representation of it. In this way the block diagram is similar to a flow diagram within a programme.

    LabVIEW VI block example
    Example of a LabVIEW VI Block Diagram
    There is an associated functions palette within the block diagram space where all the elements needed to build the programme can be found. This enables swift accurate programming to be achieved.

Ian Poole   Written by Ian Poole .
  Experienced electronics engineer and author.



More Test Topics:
Data network analyzer     Digital Multimeter     Frequency counter     Oscilloscope     Signal generators     Spectrum analyzer     LCR meter     Dip meter, GDO     Logic analyzer     RF power meter     RF signal generator     Logic probe     PAT testing & testers     Time domain reflectometer     Vector network analyzer     PXI     GPIB     Boundary scan / JTAG     Data acquisition    
    Return to Test menu . . .