fwDevice  8.4.0
fwDeviceMassConfiguration.ctl File Reference

Functions

void fwDeviceMassConfiguration_getListOfDevices (dyn_dyn_string &listOfDevices, string deviceDpNamePattern, string deviceDpAliasPattern, string deviceDpType, string deviceDpDescriptionPattern, dyn_string &exceptionInfo)
 
dyn_string _fwDeviceMassConfiguration_getConfigsForDevices (dyn_string deviceDpNames, int configIndex, dyn_string &exceptionInfo)
 
string _fwDeviceMassConfiguration_getSingleConfig (string deviceDpName, int index, dyn_string &exceptionInfo)
 

Detailed Description

NOTE: This file is not automatically loaded by fwCore.ctl and needs to be loaded explicitely, if needed

This library contains functions to do mass configuration operations on WinCC OA datapoints. The library contains code moved from the fwDeviceMassConfiguration panel and it is extensively called from there.

Creation Date
22/07/14
Modification History
Constraints
Author
Manuel Gonzalez Berges (EN-ICE)

Function Documentation

void fwDeviceMassConfiguration_getListOfDevices ( dyn_dyn_string &  listOfDevices,
string  deviceDpNamePattern,
string  deviceDpAliasPattern,
string  deviceDpType,
string  deviceDpDescriptionPattern,
dyn_string &  exceptionInfo 
)
Loads all devices that match the selection parameters and shows them in the "search result" table.
Constraints
None
Usage
PVSS managers
dyn_string _fwDeviceMassConfiguration_getConfigsForDevices ( dyn_string  deviceDpNames,
int  configIndex,
dyn_string &  exceptionInfo 
)
Gets the summary for hardware, alarms, addresses and dpfunction configurations
Constraints
None
Usage
Private to the library
Parameters
deviceDpNamesinput, list of datapoint names
configIndexinput, config index as defined in fwDevice.ctl (e.g. fwDevice_ADDRESS_INDEX, fwDevice_ALERT_INDEX, etc)
exceptionInfooutput, returns details of any exceptionInfo
Returns
returns the parameters of the requested config in configIndex for all the requested devices (datapoints)
Array of string, the configurations of the given devices
string _fwDeviceMassConfiguration_getSingleConfig ( string  deviceDpName,
int  index,
dyn_string &  exceptionInfo 
)
Gets information for a single config.
Constraints
None
Usage
Private to the library
Parameters
deviceDpNamesinput, name of one datapoint
qTypeinput, ordering integer
Returns
String, the configuration of one given device