cpcAnalogOutput.ctl File Reference

Functions



 CPC_AnalogOutput_AcknowledgeAlarm (string deviceName, string dpType, dyn_string &dsNeedAck)
 CPC_AnalogOutput_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData)
 CPC_AnalogOutput_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList)
 CPC_AnalogOutput_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer)
 CPC_AnalogOutput_WidgetInitStatics (string deviceName)
 CPC_AnalogOutput_WidgetLockDPEs (string deviceName, dyn_string &dpes)
 CPC_AnalogOutput_WidgetDPEs (string deviceName, dyn_string &dpes)
 CPC_AnalogOutput_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType)
 CPC_AnalogOutput_WidgetDisconnection (string sWidgetType)
mapping CPC_AnalogOutput_ButtonConfig (string deviceName)
 CPC_AnalogOutput_ButtonDPEs (string deviceName, dyn_string &dpes)
 CPC_AnalogOutput_ButtonSetState (string deviceName, string dpType, dyn_string dsUserAccess, dyn_string dsData)
 CPC_AnalogOutput_FaceplateInitStatics (string deviceName)
 CPC_AnalogOutput_FaceplateLockDPEs (string deviceName, dyn_string &dpes)
 CPC_AnalogOutput_FaceplateDPEs (string deviceName, dyn_string &dpes)
 CPC_AnalogOutput_FaceplateStatusAnimationCB (dyn_string dpes, dyn_anytype values)

Detailed Description

cpcAnalogOutput.ctl This library contains the widget, faceplate, etc. functions of AnalogOutput.

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_AnalogOutput_AcknowledgeAlarm ( string  deviceName,
string  dpType,
dyn_string &  dsNeedAck 
)

Returns the list of AnalogOutput 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

References CPC_AnalogInput_AcknowledgeAlarm().

CPC_AnalogOutput_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_AnalogInput_ObjectListGetValueTime().

CPC_AnalogOutput_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_AnalogInput_MenuConfiguration().

CPC_AnalogOutput_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 CPC_AnalogInput_HandleMenu().

CPC_AnalogOutput_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 CPC_AnalogInput_WidgetInitStatics().

CPC_AnalogOutput_WidgetLockDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of AnalogOutput alert handler's locker dpes

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name
dpes input/output, dpe list

References CPC_AnalogInput_WidgetLockDPEs().

CPC_AnalogOutput_WidgetDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of AnalogOutput 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

References CPC_AnalogInput_WidgetDPEs().

CPC_AnalogOutput_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_AnalogInput_WidgetAnimation().

CPC_AnalogOutput_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.

References CPC_AnalogInput_WidgetDisconnection().

mapping CPC_AnalogOutput_ButtonConfig ( string  deviceName  ) 

Return button configuration including access level

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL

References CPC_AnalogInput_ButtonConfig().

CPC_AnalogOutput_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

References CPC_AnalogInput_ButtonDPEs().

CPC_AnalogOutput_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 cpcButton_setButtonState(), and cpcExportGenericFunctions_get5AlertAcknowledgeAlarmValue().

CPC_AnalogOutput_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 CPC_AnalogInput_FaceplateInitStatics().

CPC_AnalogOutput_FaceplateLockDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of AnalogOutput alert handler's locker dpes

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters:
deviceName input, the device name
dpes input/output, dpe list

References CPC_AnalogInput_FaceplateLockDPEs().

CPC_AnalogOutput_FaceplateDPEs ( string  deviceName,
dyn_string &  dpes 
)

Returns the list of AnalogOutput 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

References CPC_AnalogInput_FaceplateDPEs().

CPC_AnalogOutput_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 CPC_AnalogInput_FaceplateStatusAnimationCB().


Generated on 18 Jun 2018 for unCPC6 by  doxygen 1.6.1