Integrated Calculation Engine
Parameters
Parameter | Datatype | Default Value | Description |
---|---|---|---|
DEBUG | enum | 0 | Log debug messages |
DEBUG_JS | enum | 0 | Enable Javascript debugging |
DEBUG_ADDRESS | regex | 0.0.0.0:9091 | |
INIT_FILE | string | Initialization script file path. Environment variables like $OPENDAF_PREFIX can be used. (leave empty to use no init file) |
Measurements
This stack supports measurements.
Measurement address
Type: javascript
Description:
Javascript code shall register either periodic or change-sensing callback function
Examples:
calc.each(1, function() { print(calc.name); return ice.select([ice.mv('M_13CD0001'), ice.mv('M_23CD0001')]); })
Commands
This stack supports commands.
Command address
Type: javascript
Description:
Javascript function taking 3 arguments (name, v, t)
Examples:
function(name,v,t) { print('Value ' + v + ' timestamp ' + t + ' written to command ' + name); }