Functions | Variables
fwManager.ctl File Reference

Functions

synchronized dyn_string fwManager_getScriptsRunByCtrlMan (string systemName, unsigned ctrlManNum, dyn_string &exceptionInfo)
 
private void _fwManager_checkDriverRunningCB (string dp, dyn_int values)
 
bool fwManager_checkDriverRunning (int drvNumber, dyn_string exceptionInfo, string systemName="")
 

Variables

private global bool _fwManager_driverCheckConnected =false
 
private global dyn_int _fwManager_connectedDrivers
 

Detailed Description

This library contains functions related to WinCC OA Managers

Creation Date
18/02/2015
Author
Piotr Golonka (CERN EN/ICE)

Function Documentation

bool fwManager_checkDriverRunning ( int  drvNumber,
dyn_string  exceptionInfo,
string  systemName = "" 
)

Check whether specified driver is running

drvNumber (input) the driver number to be checked
exceptionInfo (output) the standard exception-handling variable
systemName (input,optional) the name of the system to be queried; by default local system ("")
Returns
a boolean value with the result of check.

The calls for the local system are handled through a cache, whereas those for remote ones are handled with dpGet (consider the latency of a roundtrip). The cache is established through a dpConnect to the _Connections.Driver.ManNums datapoint.

References fwException_raise().

synchronized dyn_string fwManager_getScriptsRunByCtrlMan ( string  systemName,
unsigned  ctrlManNum,
dyn_string &  exceptionInfo 
)

Returns the list of Ctrl scripts executed by a given Ctrl Manager.

systemName (input) the name of the system to be queried
ctrlManNum (input) the manager number to be queried
exceptionInfo (output) the standard exception-handling variable
Returns
the list of names of scripts executed by given Ctrl manager,

If not existing, the necessaery _CtrlDebug datapoint is created.

References fwException_raise().