6 virtual instrument operation, 1 rs-232 virtual instrument, Virtual instrument operation – American Magnetics 185 & 186 Liquid Level Instruments (CE-Marked) User Manual
Page 61

Rev. 3
51
6 Virtual Instrument Operation
In order to make the communications options easier to use for the
customer, AMI provides a LabVIEW-based interface for remote monitoring
and control of the Model 185/186. LabVIEW® is a virtual instrument (VI)
development and deployment software tool produced and marketed by
National Instruments. LabVIEW is available on several platforms
including Microsoft Windows™, Microsoft Windows NT™, Apple
Macintosh™, Sun Solaris™, and HP-UX™. The AMI provided VI’s are
developed and tested under Microsoft Windows 3.1 and 3.11, however,
they should be portable with only minor modifications across all
LabVIEW-supported platforms. Please contact National Instruments for
detailed information on the available products and specifications.
The AMI provided VI’s are supplied on one 3.5” 1.44 MB diskette. The VI’s
require version 3.1 (or above) of LabVIEW and a minimum of a 256
color display.
The VI’s are stored in one LabView VI Library (LLB) file
which contains the multiple VI’s needed for operation of the instrument as
a whole. AMI’s provided VI’s are designed for continuous operation under
the control of LabVIEW, and do not conform to the instrument driver
specifications to which National Instruments’ own instrument drivers
adhere. Any additional functionality gained by conforming to such
specifications was deemed of minimal value by AMI due to the relative
simplicity of communicating with the Model 185/186 instrument.
Note
Virtual instrument names which are common to both the Model 185
and Model 186 drivers are noted as “18X” in this section. The actual
model number “185” or “186” is used in the LabVIEW VI’s.
6.1 RS-232 Virtual Instrument
The figure below illustrates the front panel of the Model 186 virtual
instrument (VI). The front panel appears nearly identical to the front
panel of the actual instrument. The functionality of the VI is very similar
to that of the actual instrument as well.
When running the VI it is important to operate the instrument
using the VI and not via the actual instrument front panel.
Otherwise, the VI and the actual instrument may not be synchronized.
The only exceptions to this rule are calibration procedures or operation of
the fill toggle switch if manual override becomes necessary, both of which
are functions that are not available from the VI. Any function available