set_power_supply Moku:Go
Configure a specific power supply channelOnce a load is connected, the power supply operates either at the current set point or the voltage set point, whichever set point is reached first. set_power_supply returns the same response as get_power_supply
Parameters
integer required
Target power supply
boolean
Enable/Disable power supply
default: true
number
Voltage set point
default: 3
units: Volts
number
Current set point
default: 0.1
units: Amps
When using either of the clients, user can access this function directly from instrument reference.
# Examples
# Sample response,
{
"id":1,
"enabled":true,
"current_range":[0, 0.15],
"voltage_range":[-5, 5],
"set_voltage":5,
"set_current":0.1,
"actual_voltage":4.93525,
"actual_current":0.001582641601562518,
"constant_current_mode":false,
"constant_voltage_mode":true
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12