2020-08-05 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RDDataPacer' class.
	* Modified the GVC7000 switcher driver to insert 50 mS pauses
	between protocol commands.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-05 12:04:09 -04:00
parent e80533c0ec
commit 50a80d0a61
7 changed files with 165 additions and 4 deletions

View File

@@ -26,6 +26,7 @@
#include <qtimer.h>
#include <rd.h>
#include <rddatapacer.h>
#include <rdmatrix.h>
#include <rdmacro.h>
@@ -52,11 +53,12 @@ class Gvc7000 : public Switcher
void connectedData();
void disconnectedData();
void errorData(QAbstractSocket::SocketError err);
void sendCommandData(const QByteArray &data);
private:
void SendCommand(const QString &str);
QString ToSeries7000Native(const QString &str) const;
QTcpSocket *gvc_socket;
RDDataPacer *gvc_pacer;
QHostAddress gvc_ipaddress;
int gvc_matrix;
int gvc_ipport;