Hi everyone,
What does a Status code -1 returned by system.dnp3.directOperateAnalog mean?
Thanks,
Hi everyone,
What does a Status code -1 returned by system.dnp3.directOperateAnalog mean?
Thanks,
Looks like one possibility is that a device by whatever you passed in for the deviceName
parameter does not exist or is disabled.
If you're using the new DNP3 driver, as opposed to the legacy DNP3 driver, be aware that the script function namespace is system.dnp
and not system.dnp3
.
Thanks for the information @Kevin.Herron .
The issue was related to the data type mismatch between the value passed to the function and the AO defined in the device. I am using Legacy dnp3 driver.