API Command Reference
Appendix A
A-32
NetScan 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 NetScan.
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 D.
EXAMPLE
PRINT#1, “F0,0X”
‘ Set the engineering units format to be degrees C
PRINT#1, “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, “L?X”
‘ Read the current level setting
LINE INPUT#1, L$
PRINT L$
‘ The screen shows
L001,+0100.0,+0010.0
PRINT#1, “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
Summary of Contents for OMB-NETSCAN
Page 6: ...iv NetScan User s Manual...
Page 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Page 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Page 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Page 118: ...6 20 Calibration NetScan User s Manual...
Page 140: ...A ii NetScan User s Manual...
Page 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Page 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Page 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Page 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Page 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Page 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Page 254: ...NetScan User s Manual...