set_monitor

Configures the specified monitor channel to view the desired digital filter signal.

There are two monitoring channels available, each of these can be assigned to source signals from any of the internal DFB instrument monitoring points. Signals larger than 12-bits must be either truncated or clipped to the allowed size.

Source signal can be one of,

  • Input1 : Channel 1 ADC input
  • Filter1 : DFB Channel 1 input (after mixing, offset and scaling)
  • Output1 : DFB Channel 1 output
  • Input2 : Channel 2 ADC Input
  • Control2 : DFB Channel 2 input (after mixing, offset and scaling)
  • Output2 : DFB Channel 2 output

Parameters

integer required
Monitor channel
string required
Monitor channel source.
allowed values:
Moku:LabNone, Input1, Filter1, Output1, Input2, Filter2, Output2
Moku:GoNone, Input1, Filter1, Output1, Input2, Filter2, Output2
Moku:ProNone, Input1, Filter1, Output1, Input2, Filter2, Output2, Input3, Filter3, Output3, Input4, Filter4, Output4
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "source": "Output1"
}
1
2
3