Commands that provide access to DC Power Supply data and functions.
Get the current state of the instrument's channel
Command
Response
Command
{
"dc": {
"1": [
{
"command":"getCurrentState"
}
]
}
}
Response
{
"dc": {
"1": [
{
"command": "getCurrentState",
"statusCode": 0,
"wait": 0,
"state": "idle",
"voltage": 3300
}
]
}
}
Get the output voltage(s) of the specified DC power supply channel(s).
Command
Response
Command
{
"dc":{
"1":[
{
"command":"getVoltage"
}
]
}
}
Response
{
"dc":{
"1":[
{
"command":"getVoltage",
"statusCode":0,
"wait":100,
"voltage":3300
}
]
}
}
Set the output voltage(s) of the specified DC power supply channel(s).
Command
Response
Command
{
"dc":{
"1":[
{
"command":"setVoltage",
"voltage":3300
}
]
}
}
Response
{
"dc":{
"1":[
{
"command":"setVoltage",
"statusCode":0,
"wait":500
}
]
}
}