48
Virtual Instrument Operation
RS-232 Virtual Instrument
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 from
the VI should be normally be set by using the VI and not the front panel of the
instrument.
Launching and initializing the RS-232 VI
First, make sure the Model 186 is connected to a COM port on the host computer and
that the instrument is powered on. The VI library, provided in the file
MODEL186.LLB, for the RS-232 virtual instrument contains the following files:
Open the
Model 186 via Serial Port.vi
. Before running the VI, the user must select an
initialization option and provide any necessary settings. In order to initialize the VI,
scroll to the area above the virtual front panel. Several controls are visible for setup by
the user. The figure below illustrates the available controls. The
Initialize State from
Instrument?
switch allows the user to select whether the instrument is initialized from
the current settings of the actual instrument or from the controls available from the VI.
VI
Function
186 Alarms.vi
Manages alarm functions for 186.
Config 186 via Serial Port.vi
Initializes actual instrument from VI configuration.
Convert from CM.vi
Displays inches or percentage given input in cm.
Counter.vi
Timer function for the virtual display.
Get 186 Level via Serial Port.vi
Updates virtual display with current level.
Init from 186 via Serial Port.vi
Initializes VI configuration from actual instrument.
Model 186 via Serial Port.vi
The main VI containing the configuration and front
panel controls. This is the VI the user should open
and execute.
Serial Port Send.vi
Manages sending and receiving of ASCII strings
from the actual instrument.
Set 186 A via Serial Port.vi
Configures the A setpoint.
Set 186 B via Serial Port.vi
Configures the B setpoint.
Set 186 Fill via Serial Port.vi
Configures the fill interval setting.
Set 186 HI via Serial Port.vi
Configures the HI setpoint.
Set 186 Length via Serial
Port.vi
Configures the active sensor length.
Set 186 LO via Serial Port.vi
Configures the LO setpoint.
Содержание 186
Страница 3: ...2 Introduction ...
Страница 13: ...12 Installation Configuring power ...
Страница 23: ...22 Calibration Approximate Calibration ...
Страница 29: ...28 Operation Sensor contamination ...
Страница 37: ...36 RS 232 Communication Data Logger Option Error Codes ...
Страница 47: ...46 IEEE 488 Communication Option Serial Poll Status Byte ...
Страница 55: ...54 Virtual Instrument Operation Running multiple GPIB devices ...
Страница 65: ...64 Index ...