Compare commits

..
6 Commits
Author SHA1 Message Date
sani7 67d7e959b1 Client 2026-09-30 12:33:21 +02:00
sani7 08fd5407c3 server
update websocket
updated to use protobuf
not quite finished with the Websocket message parser
2026-09-30 12:33:20 +02:00
sani7 022422b63c Update UI 2026-09-30 12:33:20 +02:00
sani7 4618c500c9 protobuf messages 2026-09-30 12:33:15 +02:00
sani7 236030c99a visa
add abort
2026-09-16 13:59:49 +02:00
sani7 c8992b25f6 b visa
using disconnect instead of disconnect from host
2026-09-16 13:15:19 +02:00
2 changed files with 11 additions and 1 deletions
+6 -1
View File
@@ -42,7 +42,12 @@ void Visa::connect(QString ip, quint16 port)
void Visa::disconnect()
{
m_tcp_socket->disconnect();
m_tcp_socket->disconnectFromHost();
}
void Visa::abort()
{
m_tcp_socket->abort();
}
bool Visa::connected() const
+5
View File
@@ -36,6 +36,11 @@ class Visa : public QObject
*/
void disconnect();
/**
* @brief abort Abort and reset the socket
*/
void abort();
/**
* @brief Check if the VISA device is connected
*