src/generic/interfaces.ts
Group of variables which are used by setConfig:
channels: Information related to channels: name (Always required) / tsampleCh (Optional).
(Note: Available channels 16 [0-15], where the first channel starts from 0 and the last one will be channel 15)
mode: Indicates the type of data capture (SINGLE/CONTINUOUS). (Always required)
triggerType: Type of trigger (NONE,UP,DOWN,UPDOWN) (Always required)
triggerAbs: Indicates if the type of trigger will be in absolute values or not.
tSample: Shows the period set. (Optional): if not set, default period will be used, CNC loop cycle. (UNITS: microsec)
nSample: Number of points to be captured. (Required for NONE,UP/DOWN,UPDOWN modes. Otherwise not necessary).
triggerChannel: Indicates the channel which is configured for the trigger (Required for UP/DOWN,UPDOWN modes. Otherwise not necessary).
triggerPosition: Percentage that shows position of the trigger (Required for UP/DOWN,UPDOWN modes. Otherwise not necessary)
triggerLevel:The level where the trigger is detected (Required for UP/DOWN,UPDOWN modes. Otherwise not necessary)
Properties |
|
channels |
channels:
|
Type : TraceChannelsInfo[]
|
mode |
mode:
|
Type : TraceMode
|
nSample |
nSample:
|
Type : number
|
Optional |
triggerAbs |
triggerAbs:
|
Type : boolean
|
triggerChannel |
triggerChannel:
|
Type : number
|
Optional |
triggerLevel |
triggerLevel:
|
Type : number
|
Optional |
triggerPosition |
triggerPosition:
|
Type : number
|
Optional |
triggerType |
triggerType:
|
Type : TraceTriggerType
|
tSample |
tSample:
|
Type : number
|
Optional |