9 #include "../constants.h" 47 if (gpio_instance == 0) gpio_instance =
new Acromag();
88 void dumpBuffer(QByteArray)
const;
90 QQueue<quint16> words;
bool isConnected(Sepia::Channel channel) const
Check if we have a network connection to our Acromag instance.
Definition: acromag.cpp:90
Sepia::Channel connectedLO() const
Get the channel which is currently selected.
Definition: acromag.cpp:85
void cartridge(Sepia::Channel channel, bool on)
Select/unselect a cartridge.
Definition: acromag.cpp:58
void connectToServer()
Connect to Acromag GPIO device using Modbus tcp.
Definition: acromag.cpp:25
cartridge C (SEPIA band 7)
Definition: acromag.h:39
A virtual class representing a cartridge.
Definition: cartridge.h:267
cartridge A (SEPIA band 5)
Definition: acromag.h:37
cartridge B (SEPIA band 9)
Definition: acromag.h:38
A class to control the Acromag GP-I/O unit.
Definition: acromag.h:26
void setLOswitch(Sepia::Channel channel)
Set the LO switch for a given cartridge.
Definition: acromag.cpp:34
static Acromag * instance()
Get a pointer to a class Acromag instance.
Definition: acromag.h:45
Channel
An enumeration for the three SEPIA channels (cartridges).
Definition: constants.h:66
no connection
Definition: acromag.h:36