MGI Library VIs

MGI has a library of VIs that we reuse in the development of customer projects. The library is stored as a VIPM package, so you'll need the VI Package Manager to install it. Some of the MGI VIs depend on other OpenG Packages. The contents of the MGI Library are reviewed below.

A download of the packages is available in the MGI_Libary_5.zip file.

1D Array

Array Function VIs all perform common array operations on numerical data.

2D Array

2D Array VIs operate on 2-dimensional data (like what is sent to an intensity graph).

Application Control

Application Control VIs use LabVIEW VI Server or perform tasks related to built executables or user interface.

Bezier

Bezier VIs perform calculations based on Bezier curves, which are similar to cubic splines but with a few key differences.

Boolean

Boolean VIs operate on boolean data.

Cluster

Cluster VIs perform operations on Clusters like replacing an element in a cluster or getting the index of an element.

Error Handling

MGI code uses standard LabVIEW error clusters so that it integrates smoothly with built-in LabVIEW functions.

File

File VIs operate on directories and files. See the Read/Write Anything section for information about writing arbitrary LabVIEW data structures to disk.

Checksum

Checksum VIs are useful for calculating and verifying a checksum value on a file or directory of files.

Config

Config VIs are useful when using the NI Configuration file format. They add support for reading and writing arrays of numeric values to a config file.

Spreadsheet

Spreadsheet VIs support reading and writing delineated text files that have text headers.

Zip

The Sharp Zip Library provides support for creating zip files that are larger than 2Gigabytes. The Sharp Zip Library depends on Microsoft .Net technology.

Graph

Graph VIs are useful for setting properties of Chart and Graph controls

Matrix & Vector

Matrix and Vector VIs operate on 1D (for Vector) and 2D (for Matrix) arrays of numeric data. These include Cross Product, which is not included in LabVIEW.

Coordinates

Coordinate VIs are useful for performing rotations on 2D or 3D datasets.

Numeric

Numeric VIs operate DBL or SGL precision floating point numbers and on integers. They include the coercion, comparison, and rounding subpalettes. For easy access and use with quickdrop, the compound arithmetic nodes are also included.

Coercion

Coercion VIs are a subpalette of the Numeric palette. They are useful for converting radians and degrees.

Comparison

Comparison VIs are a subpalette of the Numeric palette. They include VIs for checking for inifinity, loose comparisons, and magnitude measurements.

Rounding

Rounding VIs are a subpalette of the Numeric palette. They allow rounding to a power of 10, 2, or an arbitrary base.

Picture & Image

Picture and Image VIs operate on picture data or rectangles. They provide useful functionality including string wrapping.

Read/Write Anything

Read/Write Anything converts arbitrary LabVIEW clusters to and from data files. Read more about the extremely useful Read/Write Anthing VIs here.

Spline

A Spline is a mathmatical definition for a curved line. The Spline VIs are useful for working with Splines.

String

String VIs operate on string data or an array of string data.

Timing

Timing VIs are usefull for measuring the execution duration of some code and for providing a delay that uses explicit dataflow using an error cluster.

Tree

Tree VIs are usefull for populating the LabVIEW Tree control.