beautypg.com

Using digital outputs as alarms…… lv-21, Using digital outputs as alarms – Measurement Computing LogBook Series User Manual

Page 147

background image

Software Reference

989592

LogView LV-21

LogView automatically computes the Cal Offset factor (near 0) and Cal Scale factor (near 1).

From this point on, LogView automatically applies the y = mx + b equation to the incoming reading,
resulting in a calibrated reading.

Using Digital Outputs As Alarms

Using LogView's calculated channel capability (see page LV- 36), digital outputs can be stimulated by
events such as signal levels in analog inputs (e.g., to sound an alarm at a rising temperature before a test
system over heats).

1. Click the Analog button to activate the Analog Input Channel Configuration

window.

2. Turn on the analog input channel that you'd like to use to stimulate a digital output

channel.

3. Click the (Calculated Channel) button to open the Calculated Channel

Configuration window.

4. Click the button (located just right of the F(x) button); or select

“Add New Channel” from the Edit pull-down menu to activate the first or next calculated channel.

5. In the Calculated Function column, type in the following equation "(P1_CH00 > 30.0) & 1". If

you're not using channel 0, replace P1_CH00 with your channel tag. This equation will yield a 1 in
its least significant bit when the value of channel 0 is above 30, and 0 when it is below 30.

Entering an Equation (Function Expression)

To verify accurate use of syntax, access the Equation Assistant (see following figure) via
the F(x)
button and click the button. Refer to page LV-37 for detailed
information regarding the Equation Assistant.