cpcWordStatus.ctl File Reference

Functions



 CPC_WordStatus_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData)
 CPC_WordStatus_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList)
 CPC_WordStatus_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer)
 CPC_WordStatus_WidgetRegisterCB (string sDp, bool bSystemConnected)
 CPC_WordStatus_WidgetInitStatics (string deviceName)
 CPC_WordStatus_WidgetDPEs (string deviceName, dyn_string &dpes)
 CPC_WordStatus_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType)
 CPC_WordStatus_WidgetDisconnection (string sWidgetType)
 CPC_WordStatus_FaceplateInitStatics (string deviceName)
 CPC_WordStatus_FaceplateDPEs (string deviceName, dyn_string &dpes)
 CPC_WordStatus_FaceplateStatusAnimationCB (dyn_string dpes, dyn_anytype values)
 CPC_WordStatus_FaceplateStatusDisconnection ()
string CPC_WordStatus_lookupLabel (mapping labels, string idx)

Detailed Description

cpcWordStatus.ctl This library contains the widget, faceplate, etc. functions of WordStatus.

Creation Date
dd/mm/yyyy
Modification History
Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Author:
the author (DEP-GROUP)

©Copyright CERN 2013 - all rights reserved


Function Documentation

CPC_WordStatus_ObjectListGetValueTime ( string  deviceName,
string  deviceType,
dyn_string &  dsReturnData 
)

Function called from snapshot utility of the treeDeviceOverview to get the time and value

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, device name
deviceType input, device type
dsReturnData output, return data, array of 5 strings

References CPC_AnalogStatus_ObjectListGetValueTime().

CPC_WordStatus_MenuConfiguration ( string  deviceName,
string  dpType,
dyn_string  dsAccessOk,
dyn_string &  menuList 
)

pop-up menu

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, device DP name
dpType input, device type
dsAccessOk input, the access control
menuList output, pop-up menu to show, dyn_string to be given to the popupMenu function

References CPC_POPUPMENU_DIAG_INFO_TEXT, cpcGenericObject_addDefaultUnicosActionToMenu(), and cpcGenericObject_addTrendActionToMenu().

CPC_WordStatus_HandleMenu ( string  deviceName,
string  dpType,
dyn_string  menuList,
int  menuAnswer 
)

handle the answer of the popup menu

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, device DP name
dpType input, device type
menuList input, the access control
menuAnswer input, selected menu value

References cpcGenericObject_HandleUnicosMenu().

CPC_WordStatus_WidgetRegisterCB ( string  sDp,
bool  bSystemConnected 
)

widget register callback

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
sDp input, the DistributedControl system name DP name
bSystemConnected input, the state of the system name

References CPC_WordStatus_WidgetDisconnection(), cpcGenericAnimation_WidgetConnect(), cpcGenericAnimation_WidgetDisconnect(), and cpcGenericAnimation_WidgetLockDPEs().

CPC_WordStatus_WidgetInitStatics ( string  deviceName  ) 

Init static values which are used in widget animation

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name

References cpcGenericDpFunctions_getDeviceProperty(), and cpcGenericObject_StringToMapping().

CPC_WordStatus_WidgetDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of WordStatus DPEs which should be connected on widget animation

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name
dpes input/output, dpe list
CPC_WordStatus_WidgetAnimation ( dyn_string  dpes,
dyn_anytype  values,
string  widgetType 
)

callback function on the device data

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
dpes input, the dpe names
values input, the dpe values

References cpcGenericObject_WidgetValidnessAnimation().

CPC_WordStatus_WidgetDisconnection ( string  sWidgetType  ) 

Disconnect function for the widget data

Parameters:

Usage: Internal

PVSS manager usage: NG, NV

Constraints: . Global variables defined in OnOff faceplate . PVSS version: 2.12.1 . operating system: NT and W2000, but tested only under W2000. . distributed system: yes.

Referenced by CPC_WordStatus_WidgetRegisterCB().

CPC_WordStatus_FaceplateInitStatics ( string  deviceName  ) 

Init static values which are used in faceplate animation

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name

References cpcGenericObject_StringToMapping().

CPC_WordStatus_FaceplateDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of WordStatus DPEs which should be connected on faceplate animation

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name
dpes input/output, dpe list
CPC_WordStatus_FaceplateStatusAnimationCB ( dyn_string  dpes,
dyn_anytype  values 
)

callback function on the device data

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
dpes input, the dpe names
values input, the dpe values

References cpcGenericObject_WidgetValidnessAnimation().

CPC_WordStatus_FaceplateStatusDisconnection (  ) 

Faceplate disconnection function.

Normally you should not use this function.

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL

Generated on 11 Jul 2013 for unCPC6 by  doxygen 1.6.1