set_node
Set the function and inputs of a node in a given channelParameters
integer required
Target channel
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4
integer required
Column of the node
allowed values:Moku:Lab 1, 2, 3 Moku:Go 1, 2, 3 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4
integer required
First input channel of the node
allowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4
string required
Function the node performs
allowed values:Passthrough, Add, Subtract, Multiply, Gain, Offset integer
Second input channel of the node, required for the Add, Subtract and Multiply functions
default: Noneallowed values:Moku:Lab 1, 2 Moku:Go 1, 2 Moku:Pro 1, 2, 3, 4 Moku:Delta 1, 2, 3, 4
number
Gain applied by the Gain function
default: Noneallowed values:-20 to 20units: dB number
Offset applied by the Offset function
default: Noneallowed values:Moku:Lab -1 to 1 Moku:Go -5 to 5 Moku:Pro -1 to 1 Moku:Delta -0.5 to 0.5
units: V boolean
Disable all implicit conversions and coercions
default: trueallowed values:true, false# Examples
# Sample response
{
"channel": 1,
"column": 1,
"function": "Add",
"input_a": 1,
"input_b": 2
}
1
2
3
4
5
6
7
2
3
4
5
6
7