set_acquisition_mode

Configures acquisition mode to determine how statistics, histograms and output signals are computed.

The acquisition mode of the Time & Frequency Analyzer is the acquisition of intervals, which therefore dictates how the instrument collects interval data

Parameters

string
Acquisition mode
default: Continuous
allowed values:Continuous ,Windowed, Gated
string required
Acquisition channel
allowed values:
Moku:LabChannelA, ChannelB, Input1, Input2, Output1, Output2, External
Moku:GoChannelA, ChannelB, Input1, Input2, Output1, Output2
Moku:ProChannelA, ChannelB, ChannelC, ChannelD, Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4, External
number required
Acquisition threshold
number required
Window length
boolean
Disable all implicit conversions and coercions.
default: true

# Windowed acquisition

Windowed acquisition counts events within each window period, and resets at the end of each window period. Windowed proves a balance of averaging for noise reduction and the ability to respond when the signal changes.

# Continuous acquisition

Events are being registered continuously during intervals.

# Gated acquisition

Similar to windowed acquisition, statistics, count output and histogram counts are reset at the end of each gate period. In gated acquisition mode, the beginning of the acquisition period is triggered by the gate input signal. The gate input source can be any of the Moku device input channels, or by external trigger (if available).

# Examples