Commands that provide access to Arbitrary Waveform Generator data and functions.
Get the current state of the instrument's channel
Command
Response
Command
{
"awg": {
"1": [
{
"command": "getCurrentState"
}
]
}
}
Response
{
"awg": {
"1": [
{
"command": "getCurrentState",
"statusCode": 0,
"wait": 0,
"state": "running",
"waveType": "sine",
"actualSignalFreq": 1000000,
"actualVpp": 3000,
"actualVOffset": 0
}
]
}
}
Set the parameters of the arbitrary waveform generator channel(s) to output a regular waveform.
Command
Response
Command
{
"awg":{
"1":[
{
"command":"setRegularWaveform",
"signalType":"sine",
"signalFreq":1000000,
"vpp":3000,
"vOffset":0
}
]
}
}
Response
{
"awg":{
"1":[
{
"command":"setRegularWaveform",
"statusCode":0,
"wait":0,
"actualSignalFreq": 1000000,
"actualVpp": 3000,
"actualVOffset":0
}
]
}
}
Run the arbitrary waveform generator channel(s).
Command
Response
Command
{
"awg":{
"1":[
{
"command":"run"
}
]
}
}
Response
{
"awg":{
"1":[
{
"command":"run",
"statusCode":0,
"wait":0
}
]
}
}
Stop the arbitrary waveform generator channel(s).
Command
Response
Command
{
"awg":{
"1":[
{
"command":"stop"
}
]
}
}
Response
{
"awg":{
"1":[
{
"command":"stop",
"statusCode":0,
"wait":0
}
]
}
}