fwDeviceEditorNavigator  8.4.0
fwDeviceEditorNavigator.ctl File Reference
 fwDeviceEditorNavigator_openRootModule (dyn_string &exceptionInfo, int offsetX=0, int offsetY=0)
 
 fwDeviceEditorNavigator_callCommand (string command, dyn_string selectedNode, dyn_string &exceptionInfo)
 
 fwDeviceEditorNavigator_executeCommand (string dpe1, string command, string dpe2, dyn_string selectedNode)
 
 _fwDeviceEditorNavigator_getStatus (string device, dyn_bool &status, dyn_string &exceptionInfo)
 
 fwDeviceEditorNavigator_pasteLogical (dyn_string destDevice, dyn_string pastedDevice, dyn_string &exceptionInfo)
 

Detailed Description

This library contains the functions needed by the Device Editor and Navigator. The tool displays all the devices of the system in a hierarchical way. It also allows to browse through them to display operation and configuration information.

Creation Date
31/10/2001
Modification History
Constraints
Requires the fwTreeView and fwGeneral components of the Framework installed.
Usage
Private
PVSS managers
VISION
Author
Manuel Gonzalez Berges (IT-CO)

Function Documentation

fwDeviceEditorNavigator_openRootModule ( dyn_string &  exceptionInfo,
int  offsetX = 0,
int  offsetY = 0 
)

Modification History:

Constraints
Usage
Private
PVSS managers
VISION
Parameters
exceptionInforeturns details of any exceptions
offsetXoffset in the x direction to place device module
offsetYoffset in the y direction to place device module
fwDeviceEditorNavigator_callCommand ( string  command,
dyn_string  selectedNode,
dyn_string &  exceptionInfo 
)
Constraints
Usage
Private
PVSS managers
VISION
Parameters
command
selectedNode
exceptionInforeturns details of any exceptions
Reviewed:
2018-06-22 {} not used directly, yet completes the mechanism of "remote control" for DEN provided by fwDeviceEditorNavigator_executeCommand
fwDeviceEditorNavigator_executeCommand ( string  dpe1,
string  command,
string  dpe2,
dyn_string  selectedNode 
)
Constraints
Usage
Private
PVSS managers
VISION
Parameters
dpe1
command
dpe2
selectedNode
Reviewed:
2018-06-22 Callback , dpConnected to _FwDeviceEditorNavigator datapoints in the fwDeviceEditorNavigator.pnl
_fwDeviceEditorNavigator_getStatus ( string  device,
dyn_bool &  status,
dyn_string &  exceptionInfo 
)
Returns current status of the Device Editor & Navigator.

Currently this comprises: -whether a local or a remote system is selected -whether edit is possible Also the global variable (g_fwDEN_selectedSystem) with the current selected system is updated.

Constraints
Usage
Private
PVSS managers
VISION
Parameters
devicedevice dp name or dp alias
statusarray with current status -status[fwDEN_STATUS_LOCAL]: whether we are in the local system or not -status[fwDEN_STATUS_EDIT]: whether we are in Editor mode or not.
exceptionInfodetails of any exceptions are returned here
fwDeviceEditorNavigator_pasteLogical ( dyn_string  destDevice,
dyn_string  pastedDevice,
dyn_string &  exceptionInfo 
)
Function to paste a device (pastedDevice) and its children as

child of another device (destDevice) in the logical hierarchy

Constraints
Usage
Private
PVSS managers
VISION
Parameters
destDevicedestination device object
pastedDevicepasted device object
exceptionInfodetails of any exceptions are returned here