API Commands
Appendix A
A-40
ChartScan User’s Manual
L
- Set Trigger Level
TYPE
Channel
EXECUTION
Deferred
SYNTAX
Lchan,
level,
hyst
Sets the level against which the testing of channel readings should be
performed where
chan
is the channel number such that
1
<
chan
<
max
,
where
max
=
128
for ChartScan/1400.
level
is the level against which the readings are tested to determine if the
level has been exceeded.
hyst
is the hysteresis level.
L?
Query the the current level settings
DESCRIPTION
The Set Trigger Level (
L
) command simply sets the level against which the testing of channel readings should be
performed. The Set Trigger Configuration (
T
) command should be used to configure whether the level condition
should be tested for going above the specified level or below the specified level.
Note:
This command is only valid for trigger start/stop events of
T4
and
T5
.
The parameter
level
is the value, which, if exceeded (by going above or below it as defined), should generate
a trigger event. The parameter
hyst
is the hysteresis value that, with
level
, is used to test whether the level
condition still persists. The level condition will persist until the channel readings no longer exceed the level as
specified. Further, in order to come out of the level condition, the channel readings must not exceed the
aggregate of the level and hysteresis values. The format for the
level
and
hyst
arguments follow the rules
for readings input defined under the Set Data Format (
F
) Command and in the
Data Format
section of
Appendix C
.
EXAMPLE
PRINT#1, “OUTPUT07;F0,0X”
‘ Set the engineering units format to be degrees C
PRINT#1, “OUTPUT07;L1,100.0,10.0X”
‘ Set the level channel to be channel 1 at a level 100.0
°
C with a hysteresis of 10.0
°
C
PRINT#1, “OUTPUT07;L?X”
‘ Read the current level setting
PRINT#1, “ENTER07"
‘ The screen shows
L001,+0100.0,+0010.0
LINE INPUT #2, L$
PRINT L$
PRINT#1, “OUTPUT07;T4,5,0,0X”
‘ Set the unit to start on channel going above the level
and to stop on the channel going below the level
Содержание OMB-CHARTSCAN 1400
Страница 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Страница 6: ...iv ChartScan User s Manual...
Страница 24: ...ChartScan User s Manual...
Страница 32: ...2 8 General Information ChartScan User s Manual Notes...
Страница 56: ...3 24 ChartScan User s Manual Notes...
Страница 117: ...ChartScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 124: ...6 20 Calibration ChartScan User s Manual...
Страница 126: ...A ii ChartScan User s Manual...
Страница 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Страница 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Страница 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Страница 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Страница 257: ...E 2 ChartScan User s Manual Notes...
Страница 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Страница 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Страница 271: ...ChartScan User s Manual...