2 ieee-488 virtual instrument, Virtual instrument operation – American Magnetics 185 & 186 Liquid Level Instruments (CE-Marked) User Manual

Page 65

Advertising
background image

Rev. 3

55

Virtual Instrument Operation

IEEE-488 Virtual Instrument

6.2 IEEE-488 Virtual Instrument

The IEEE-488 (or GPIB) VI functions nearly identically to the RS-232 VI

with a few exceptions. The VI library, provided in the file

MODEL18X.LLB, for the IEEE-488 virtual instrument contains the

following files:

The Model 18X via GPIB.vi in the MODEL18X.LLB library should be used

if the Model 185/186 has exclusive control of the GPIB bus, i.e. is the only

device queried on the bus.

An additional library provided on the LabVIEW floppy disk,

COMP18X.LLB, contains all the VI’s included in the MODEL18X.LLB

library along with the additional Non-exclusive loop control.vi and

reusable version of the Model 18X via GPIB.vi. The Non-exclusive loop
control.vi

provides a control example which can be customized to coexist

VI

Function

18X Alarms.vi

Manages alarm functions for 185/186.

Config 18X via GPIB.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 18X Level via GPIB.vi

Updates virtual display with current level.

Init from 18X via GPIB.vi

Initializes VI configuration from actual

instrument.

Model 18X via GPIB.vi

The main VI containing the configuration and

front panel controls. This is the VI the user

should open and execute.

Non-exclusive loop
control.vi

This VI,

which is only available in the

COMP18X.LLB library

, should be modified and

executed for non-exclusive GPIB operation.

GPIB Send.vi

Manages sending and receiving of ASCII strings

from the actual instrument.

Set 186 A via GPIB.vi

Configures the A setpoint.

Set 186 B via GPIB.vi

Configures the B setpoint.

Set 186 Fill via GPIB.vi

Configures the fill interval setting.

Set 18X HI via GPIB.vi

Configures the HI setpoint.

Set 18X Length via GPIB.vi

Configures the active sensor length.

Set 18X LO via GPIB.vi

Configures the LO setpoint.

0RGHO 

0RGHO 

0RGHO 

Advertising