Hi, regarding sharing parameters across a network (JSON) to enable two or more operators on different panels.
If I create a parameter by scripting in the provider panel, how can I access that parameter in the consumer panel?
I can only see the parameters I created manually, not those created by scripting.
Is it possible to see these as well?:
var paramObject ={
"oid": ""test",
"name": "test",
"readonly": false,
"type": "INT16",
"widget": "toggle",
"constraint":
{
"type": "INT_CHOICE",
"choices": [{
"name": "off",
"value": 0
}, {
"name": "on",
"value": 1
}]
}
};
// Create the new parameter
params.createParam(paramObject);
// This parameter can be accessed in the provider panel, but is not visible/not existing in the consumer panel. The other manually created parameters are working as expected.
Regards,
Erland