set_source

Configures the signal source of each channel

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
string required
Set channel data source
allowed values:
Moku:LabNone, Input1, Input2, Output1, Output2
Moku:GoNone, Input1, Input2, Output1, Output2
Moku:ProNone, Input1, Input2, Input3, Input4, Output1, Output2, Output3, Output4
boolean
Disable all implicit conversions and coercions.
default: true

# Sample response

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