set_node

Set the function and inputs of a node in a given channel

Parameters

integer required
Target channel
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Moku:Delta1, 2, 3, 4
integer required
Column of the node
allowed values:
Moku:Lab1, 2, 3
Moku:Go1, 2, 3
Moku:Pro1, 2, 3, 4
Moku:Delta1, 2, 3, 4
integer required
First input channel of the node
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Moku:Delta1, 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: None
allowed values:
Moku:Lab1, 2
Moku:Go1, 2
Moku:Pro1, 2, 3, 4
Moku:Delta1, 2, 3, 4
number
Gain applied by the Gain function
default: None
allowed values:-20 to 20
units: dB
number
Offset applied by the Offset function
default: None
allowed 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: true
allowed 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