Prerequisite:
The variable VB01 is previously created. The handle of the variable is 2.
Get the properties of a variable.
The client sends:
{
"jsonrpc": "2.0",
"id": 6,
"method": "GetProperties",
"handle": 2,
"params": []
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 6,
"result": {
"qProp": {
"qInfo": {
"qId": "VB01",
"qType": "Variable"
},
"qMetaDef": {},
"qName": "Variable01",
"qComment": "My first variable",
"qNumberPresentation": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0
},
"qDefinition": "=Count(Holes)"
}
}
}
The properties of the variable are returned.