ifw-fcf  4.0.0
Public Member Functions | List of all members
fcfDevsimPiezo.DeviceSimulatorPiezo Class Reference

Device Simulator class for the Standard Piezo Device. More...

Inheritance diagram for fcfDevsimPiezo.DeviceSimulatorPiezo:
fcf_devsim_piezo.piezo.DevsimPiezo

Public Member Functions

def __init__ (self)
 Initialise the Piezo Device simulator class; set the members. More...
 
def initialise (self)
 Initialise various parameters of the simulated device. More...
 
- Public Member Functions inherited from fcf_devsim_piezo.piezo.DevsimPiezo
def set_error_attribs (self, error_code)
 Set the "stat.nErrorCode"/"stat.sErrorText" node values. More...
 
def set_rpc_error_attribs (self, rpc_error_code)
 Set the "stat.nRpcErrorCode"/"stat.sRpcErrorText" node values. More...
 
def sim_thr_user (self)
 Simulation Thread managing the piezo status. More...
 
def check_range_user (self, index, value)
 Check wether user value is within the AD converter range. More...
 
def get_bits (self, index, user_value)
 Get the bits for a given user value. More...
 
def get_pos (self, index, bit_value)
 Get the pos in user units for a given user value in bits. More...
 
def reset_piezo_values (self)
 Reset piezo values. More...
 
def data_change_handler (self, node, value, data)
 Invoked when subscribed "ctrl." and "stat." nodes change value. More...
 
def RPC_Init (self, parent)
 Initiate the initialisation procedure. More...
 
def RPC_Reset (self, parent)
 Reset the Piezo Device (bring it to NotOp/NotReady). More...
 
def RPC_Enable (self, parent)
 Execute SM Enable operation. More...
 
def RPC_Pos (self, parent)
 Execute SM Pos operation. More...
 
def RPC_Auto (self, parent)
 Execute SM Auto operation. More...
 
def RPC_Home (self, parent)
 Execute SM Auto operation. More...
 
def RPC_MoveUser (self, parent, in_lrPos1, in_lrPos2, in_lrPos3)
 Execute MoveUser operation. More...
 
def RPC_MoveBit (self, parent, in_nPos1, in_nPos2, in_nPos3)
 Execute MoveBits operation. More...
 
def RPC_Disable (self, parent)
 Execute SM Disable operation. More...
 
def RPC_Stop (self, parent)
 Execute SM Disable operation. More...
 

Additional Inherited Members

- Public Attributes inherited from fcf_devsim_piezo.piezo.DevsimPiezo
 initialised
 
 sim_init_time
 
- Static Public Attributes inherited from fcf_devsim_piezo.piezo.DevsimPiezo
string CFG_TODO = "TODO"
 OPC UA Namespace Node IDs: More...
 
string CTRL_TODO = "TODO"
 
string STAT_COUNTER = "stat.nCycleCounter"
 

Detailed Description

Device Simulator class for the Standard Piezo Device.

Constructor & Destructor Documentation

◆ __init__()

def fcfDevsimPiezo.DeviceSimulatorPiezo.__init__ (   self)

Initialise the Piezo Device simulator class; set the members.

Reimplemented from fcf_devsim_piezo.piezo.DevsimPiezo.

Member Function Documentation

◆ initialise()

def fcfDevsimPiezo.DeviceSimulatorPiezo.initialise (   self)

Initialise various parameters of the simulated device.

Reimplemented from fcf_devsim_piezo.piezo.DevsimPiezo.


The documentation for this class was generated from the following file: