52 #include <QSerialPort>
159 void decodedig(QByteArray &t_incomingArray);
167 void decodeana(QByteArray &t_incomingArray);
174 void sendData(
const QByteArray &data);
216 QString stringBaudRate;
217 QSerialPort::DataBits dataBits;
218 QString stringDataBits;
219 QSerialPort::Parity parity;
220 QString stringParity;
221 QSerialPort::StopBits stopBits;
222 QString stringStopBits;
223 QSerialPort::FlowControl flowControl;
224 QString stringFlowControl;
235 return m_currentSettings;
249 Settings m_currentSettings;
250 QSerialPort m_qSerialPort;
255 #endif // SERIALPORT_H
QVector< int > m_InAnChannelVal
The SerialPort is a class which holds all properties and methods necesarry to open, communicate and close a serial port. In most cases you want to open the port, encode your output information (digital, analog or retrieve) and decode input information (digital or analog). When you are done, close the serial port.
void dataAvailable(const QByteArray)
void decodedig(QByteArray &t_incomingArray)
void decodeana(QByteArray &t_incomingArray)
QVector< int > m_InActiveDig
void sendData(const QByteArray &data)
QVector< int > m_digchannel
Contains the declaration of the TriggerControl class.