cpcSteppingMotor.ctl File Reference
Functions |
|
|
| CPC_SteppingMotor_AcknowledgeAlarm (string deviceName, string dpType, dyn_string &dsNeedAck) |
| CPC_SteppingMotor_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData) |
| CPC_SteppingMotor_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList) |
| CPC_SteppingMotor_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer) |
| CPC_SteppingMotor_WidgetInitStatics (string deviceName) |
| CPC_SteppingMotor_WidgetDPEs (string deviceName, dyn_string &dpes) |
| CPC_SteppingMotor_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType) |
mapping | CPC_SteppingMotor_ButtonConfig (string deviceName) |
| CPC_SteppingMotor_ButtonDPEs (string deviceName, dyn_string &dpes) |
| CPC_SteppingMotor_ButtonSetState (string deviceName, string dpType, dyn_string dsUserAccess, dyn_string dsData) |
| CPC_SteppingMotor_FaceplateInitStatics (string deviceName) |
| CPC_SteppingMotor_FaceplateDPEs (string deviceName, dyn_string &dpes) |
| CPC_SteppingMotor_FaceplateStatusAnimationCB (dyn_string dpes, dyn_anytype values) |
Detailed Description
cpcSteppingMotor.ctl This library contains the widget, faceplate, etc. functions of SteppingMotor.
- Modification History
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Author:
- the author (DEP-GROUP)
©Copyright CERN 2013 - all rights reserved
Function Documentation
CPC_SteppingMotor_AcknowledgeAlarm |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string & |
dsNeedAck | |
|
) |
| | |
Returns the list of SteppingMotor DPE with alarm config that can be acknowledged
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, device name DP name |
| dpType | input, device type |
| dsNeedAck | output, the lsit of DPE |
CPC_SteppingMotor_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 |
CPC_SteppingMotor_MenuConfiguration |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string |
dsAccessOk, |
|
|
dyn_string & |
menuList | |
|
) |
| | |
CPC_SteppingMotor_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_SteppingMotor_WidgetInitStatics |
( |
string |
deviceName |
) |
|
CPC_SteppingMotor_WidgetDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of SteppingMotor 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_SteppingMotor_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 CPC_StsReg01_ALST, CPC_StsReg01_TSTOPIST, CPC_StsReg02_FUSTOPIST, CPC_WIDGET_TEXT_ALARM_ALST, CPC_WIDGET_TEXT_ALARM_FUSTOPIST, CPC_WIDGET_TEXT_ALARM_STARTIST, CPC_WIDGET_TEXT_ALARM_TSTOPIST, CPC_WIDGET_TEXT_UNSYNC, CPC_WIDGET_TEXT_WARNING_BLOCKED, CPC_WIDGET_TEXT_WARNING_DEFAULT, CPC_WIDGET_TEXT_WARNING_ERROR, CPC_WIDGET_TEXT_WARNING_SIMU, and cpcGenericObject_WidgetAnimationDoubleStsReg().
mapping CPC_SteppingMotor_ButtonConfig |
( |
string |
deviceName |
) |
|
CPC_SteppingMotor_ButtonDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Configure the list of dpes that needs for buttons animation
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the name of device |
| dpes | input, the list of dpes to connect |
CPC_SteppingMotor_ButtonSetState |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string |
dsUserAccess, |
|
|
dyn_string |
dsData | |
|
) |
| | |
Set the state of the contextual button of the device
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device DP name |
| dpType | input, the device type |
| dsUserAccess | input, list of allowed action on the device |
| dsData | input, the device data [1] = lock state, [2] = lock by, [3] .. [6] device data |
References CPC_FACEPLATE_BUTTON_ALLOW_RESTART, CPC_StsReg02_SOFTLDST, cpcButton_ButtonSetState(), and cpcButton_setButtonState().
CPC_SteppingMotor_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 cpcGenericDpFunctions_getDeviceProperty().
CPC_SteppingMotor_FaceplateDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of SteppingMotor 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_SteppingMotor_FaceplateStatusAnimationCB |
( |
dyn_string |
dpes, |
|
|
dyn_anytype |
values | |
|
) |
| | |