fwCaen  8.4.0
fwCaen.ctl File Reference
string JCOP_FRAMEWORK_CAEN_DEBUG = "JCOP_FRAMEWORK_CAEN_DEBUG"
 
 _fwCaen_parseXmlFile (string caenEasyFileName, dyn_dyn_string &listOfDevices, dyn_string &exceptionInfo)
 
int _fwCaen_getAttributesOrChildNodeValue (unsigned doc, unsigned node, string name, string &value)
 
void _fwCaen_printElements (int docum, dyn_int elements)
 

Detailed Description

Creation Date
19/07/2010
Constraints
CtrlXml and fwXML/fwXML.ctl libraries
Author
Manuel Gonzalez Berges (IT-CO)
Jonas Arroyo Garcia (BE-ICS-FD)

Function Documentation

_fwCaen_parseXmlFile ( string  caenEasyFileName,
dyn_dyn_string &  listOfDevices,
dyn_string &  exceptionInfo 
)

Internal function to parse an Easy System XML configuration file. It returns a dyn_dyn array with the list of devices.

Constraints
CtrlXml and fwXML/fwXML.ctl libraries
Usage
Private
PVSS managers
VISION
Parameters
[in]caenEasyFileNamestring: XML file name that has been produced by the CAEN Easy rack configuration for WinCC OA
[out]listOfDevicesdyn_dyn_string: contains the list of devices parsed from the CAEN Easy rack XML file
[out]exceptionInfodyn_string: returns details of any errors
Returns
Nothing
int _fwCaen_getAttributesOrChildNodeValue ( unsigned  doc,
unsigned  node,
string  name,
string &  value 
)

Internal function to get attributes or child node values in the Easy System XML configuration file. It returns the attribute value.

Constraints
CtrlXml and fwXML/fwXML.ctl libraries
Usage
Private
PVSS managers
VISION
Parameters
[in]docunsigned: document id, kept in memory
[in]nodeunsigned: XML node id, kept in memory
[in]namestring: attribute name to be read
[out]valuestring: attribute value read
Returns
int: 0 = success, -1 = error, no attribute name or node with the right name was found
void _fwCaen_printElements ( int  docum,
dyn_int  elements 
)

Print a list of node ids in memory

Constraints
CtrlXml and fwXML/fwXML.ctl libraries
Usage
Private
PVSS managers
VISION
Parameters
[in]docunsigned: document id, kept in memory
[in]elementsdyn_int: array with the list of nodes to print
Returns
Nothing

Variable Documentation

string JCOP_FRAMEWORK_CAEN_DEBUG = "JCOP_FRAMEWORK_CAEN_DEBUG"

Debug flag used to show only fwCaen debug messages on runtime