set_monitor

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

There are two monitoring channels available, each of these can be assigned to source signals from any of the internal FIR 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 : FIR Channel 1 input (after mixing, offset and scaling)
  • Output1 : FIR Channel 1 output
  • Input2 : Channel 2 ADC Input
  • Control2 : FIR Channel 2 input (after mixing, offset and scaling)
  • Output2 : FIR Channel 2 output

Parameters

integer required
Monitor channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
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