LabVIEW - the most common graphical programming language for measurement applications - has excellent support.
Spectrum delivers driver for LabVIEW starting with versions 6i. The support for the common LabVIEW software from National Instruments is based on the standard drivers from Spectrum. As a link between the driver and LabVIEW some link libraries as well as some examples are be shipped. All LabVIEW components are delivered including the diagrams. The examples can be used as a base for own applications.
Detailed information about LabVIEW can be found at National Instruments.
LabVIEW driver for M2i/M3i
Matching the new features of the M2i and M3i card series the LabVIEW driver was completely renewed and the usage becomes much more easy. The libraries consist of dedicated VIs grouping card functions for easy access. Besides this a powerful library is included implementing time consuming functions like data sorting or recalculation of digital values to analog voltage levels for fast applications.
The LabVIEW driver is completed by a number of completely runable LabVIEW applications usable as a base for own LabVIEW applications. The examples include the following examples and some more:
- Date recorder with on-line display
- Hard disk streaming utility
- Signal generator
- Additional examples for special options like Multiple Recording or Timestamp
- Complex trigger examples
Besides the libraries delivered with the drivers all driver functions can also be directly called. Due to the carefully designed interface based on software registers a usage of all card features is possible.
LabVIEW - Driver for MI/MC/MX/PCI/ISA
The support for the common LabVIEW software from National Instruments is based on the long time used and tested drivers from Spectrum. As a link between the driver and LabVIEW a link library (SPECTRUM.LLB) will be shipped. This file combines the functions of the driver in bigger function parts for LabVIEW. As a standard the following VI's will be included:
Board Init: Initialises the PCI board and the software driver. The technical data of the board will be read out.
Board Settings: Converts the numerical input in a cluster of I16 and I32 values. The inputs may be fed from controls or from constants.
Board Set: All parameters will be set in a loop. The given parameters will be checked.
Board Start: Starts the recording or the replay of the data.
Board Stop: Aborts the recording of data.
Board Status: Reads out status of the board.
Board Read: Reads data from the board. The data will be converted in an array of double values including the correct voltage value corresponding to the selected input range.
The LabVIEW drivers consists of the VIs also including the diagrams allowing the user to modify the function parts for his own purposes. This also garanties the compatibility to LabVIEW versions to be released in future. Several example VIs show the use of the link library and its function parts. This examples can be modified by the user to match special needs.