mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
visa
add abort
This commit is contained in:
@@ -45,6 +45,11 @@ void Visa::disconnect()
|
||||
m_tcp_socket->disconnectFromHost();
|
||||
}
|
||||
|
||||
void Visa::abort()
|
||||
{
|
||||
m_tcp_socket->abort();
|
||||
}
|
||||
|
||||
bool Visa::connected() const
|
||||
{
|
||||
return m_connected;
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user