SEPIA
Software documentation for the APEX SEPIA receivers
|
A class to control the Acromag GP-I/O unit. More...
#include <acromag.h>
Inherits QTcpSocket.
Public Types | |
enum | Cartridge { OFF = 0, A = 1, B = 2, C = 3 } |
The different cartridges. More... | |
Public Slots | |
void | connectToServer () |
Connect to Acromag GPIO device using Modbus tcp. | |
void | cartridge (Sepia::Channel channel, bool on) |
Select/unselect a cartridge. More... | |
void | setLOswitch (Sepia::Channel channel) |
Set the LO switch for a given cartridge. More... | |
Public Member Functions | |
Sepia::Channel | connectedLO () const |
Get the channel which is currently selected. More... | |
bool | isConnected (Sepia::Channel channel) const |
Check if we have a network connection to our Acromag instance. More... | |
Static Public Member Functions | |
static Acromag * | instance () |
Get a pointer to a class Acromag instance. | |
A class to control the Acromag GP-I/O unit.
The XT1121-000 is a Modbus TCP/IP network control module for interface with up to 16 channels of digital input/output for high-side (sourcing) applications. The unit provides I/O isolation from network & power.
enum Acromag::Cartridge |
|
slot |
Select/unselect a cartridge.
channel | Sepia::BAND5, Sepia::BAND7 or Sepia::BAND9 |
on | true for selecting, false for unselecting the channel |
Sepia::Channel Acromag::connectedLO | ( | ) | const |
Get the channel which is currently selected.
bool Acromag::isConnected | ( | Sepia::Channel | channel | ) | const |
Check if we have a network connection to our Acromag instance.
|
slot |
Set the LO switch for a given cartridge.
channel | Sepia::BAND5, Sepia::BAND7 or Sepia::BAND9 |