ifw-fcf  5.0.0-pre2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
iodev.iodev.Channel Class Reference

Channel class to manage one channel. More...

Inheritance diagram for iodev.iodev.Channel:
iodev.iodev.AiChannel iodev.iodev.DiChannel iodev.iodev.IiChannel

Public Member Functions

def __init__ (self, ch_nb, signal_nb, name, value, function="")
 
def set_value (self, value)
 Set value of the channel. More...
 
def set_value_ (self, value)
 Set value of the channel (internal method). More...
 
def get_value (self)
 Return the current value assigned to the channel. More...
 
def update_opcua_value (self, value)
 Update OPC UA value in the server. More...
 
def get_last_update (self)
 Return the time for the last update of the channel. More...
 
def update (self)
 Update the OPC UA value in the instance and in the associated OPC UA server. More...
 
def set_opcua_node_id (self, node_id)
 Set OPC UA node id. More...
 
def get_opcua_node_id (self)
 Return the associated OPC UA node id. More...
 
def invoke_function (self)
 Invoke a function of the channel. More...
 

Detailed Description

Channel class to manage one channel.

Constructor & Destructor Documentation

◆ __init__()

def iodev.iodev.Channel.__init__ (   self,
  ch_nb,
  signal_nb,
  name,
  value,
  function = "" 
)

Member Function Documentation

◆ get_last_update()

def iodev.iodev.Channel.get_last_update (   self)

Return the time for the last update of the channel.

◆ get_opcua_node_id()

def iodev.iodev.Channel.get_opcua_node_id (   self)

Return the associated OPC UA node id.

◆ get_value()

def iodev.iodev.Channel.get_value (   self)

Return the current value assigned to the channel.

◆ invoke_function()

def iodev.iodev.Channel.invoke_function (   self)

Invoke a function of the channel.

◆ set_opcua_node_id()

def iodev.iodev.Channel.set_opcua_node_id (   self,
  node_id 
)

Set OPC UA node id.

◆ set_value()

def iodev.iodev.Channel.set_value (   self,
  value 
)

Set value of the channel.

Reimplemented in iodev.iodev.IiChannel, iodev.iodev.AiChannel, and iodev.iodev.DiChannel.

◆ set_value_()

def iodev.iodev.Channel.set_value_ (   self,
  value 
)

Set value of the channel (internal method).

◆ update()

def iodev.iodev.Channel.update (   self)

Update the OPC UA value in the instance and in the associated OPC UA server.

◆ update_opcua_value()

def iodev.iodev.Channel.update_opcua_value (   self,
  value 
)

Update OPC UA value in the server.


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