get_power_supply Moku:Go
Get the current state of a specific power supplyWhen using either of the clients, user can access this function directly from instrument reference.
Parameters
integer required
ID of the power supply
# Examples
Sample response for read_power_supply with ID 1,
{
"id":1,
"enabled":true,
"current_range":[0, 0.15],
"voltage_range":[-5, 5],
"set_voltage":1.99951171875,
"set_current":0.1039387308533917,
"actual_voltage":1.92825,
"actual_current":0.00157257080078127,
"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