37 #ifndef BABYMEGCLIENT_H
38 #define BABYMEGCLIENT_H
46 #include <QtNetwork/QTcpSocket>
49 #include <QDataStream>
57 #include "babymeginfo.h"
61 class QNetworkSession;
84 bool SocketIsConnected;
86 bool DataAcqStartFlag;
94 QTcpSocket *tcpSocket;
98 void error(
int socketError,
const QString &message);
122 void DisplayError(
int socketError,
const QString &message);
203 #endif // BABYMEGCLIENT_H
BabyMEGClient(int myPort, QObject *parent=0)
void SendCommandToBabyMEG()
The BabyMEGClient class provides a TCP/IP communication between Qt and Labview.
void ReadNextBlock(int tmp)
void HexDisplay(double a)
void SendCommandToBabyMEGShortConnection(QByteArray s)
void SetInfo(BabyMEGInfo *pInfo)
double MGH_LM_Byte2Double(QByteArray InByte)
int MGH_LM_Byte2Int(QByteArray InByte)
void SendCommand(QString s)
The BabyMEGClient class provides a TCP/IP communication between Qt and Labview.
QByteArray MGH_LM_Int2Byte(int a)
void DispatchDataPackage(int tmp)