Module IOCards
An instance of the IOCards class.
It is not possible to create another instance of
the IOCards class, as IOCards class is not accessible by the user.
Info:
- Copyright: Debaru Kft. 2017
- Release:
- License: GNU
- Author: Debaru Kft
| assign (tag) |
Assigns an existing tag to a card point. |
| tag () |
Creates a new tag for a card point. |
-
start ()
-
Starts an IO Card. After configuration this function must be called.
-
start (card_index, type)
-
Adds a new IO Card.
Parameters:
-
slot (card_index)
-
Gets an IOCard instance based on card index. First card index is 1.
Parameters:
Returns:
IOCard
-
parameter (parameter_index, value)
-
Sets a card's parameters.
Parameters:
-
parameter (parameter_index, value)
-
Sets a card's parameters.
Parameters:
-
status (channel_index)
-
Sets a card's parameters.
Parameters:
Returns:
CardPointLocator
-
DI (channel_index)
-
Gets the state of the digital input ports.
Parameters:
Returns:
CardPointLocator
-
DO (channel_index)
-
Gets the state of the digital output ports.
Parameters:
Returns:
CardPointLocator
-
AI (channel_index)
-
Gets the state of the analog input ports.
Parameters:
Returns:
CardPointLocator
-
AO (channel_index)
-
Gets the state of the analog output ports.
Parameters:
Returns:
CardPointLocator
-
is_connected ()
-
Returns a CardPointLocator instance that the user can check for connection.
Returns:
CardPointLocator
-
version ()
-
Returns the firmware version number of the selected IO Card. Returns 0 if unknown.
Returns:
int
-
aux_data (index)
-
Returns the auxilary information of the selected IO Card.
Parameters:
Returns:
int
-
assign (tag)
-
Assigns an existing tag to a card point.
Parameters:
-
tag ()
-
Creates a new tag for a card point.
Returns:
Tag