Removed the fix for the broken *IDN? command. It has been fixed in newer firmware.

merge-requests/1/head
Teuniz 2016-09-15 20:17:28 +02:00
rodzic b89a3cc8c1
commit f03bf14c8d
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.32_1609122201"
#define PROGRAM_VERSION "0.32_1609152016"
#define MAX_PATHLEN 4096

Wyświetl plik

@ -152,8 +152,8 @@ void UI_Mainwindow::open_connection()
}
}
// if(tmc_write("*IDN?") != 5)
if(tmc_write("*IDN?;:SYST:ERR?") != 16) // This is a fix for the broken *IDN? command
if(tmc_write("*IDN?") != 5)
// if(tmc_write("*IDN?;:SYST:ERR?") != 16) // This is a fix for the broken *IDN? command in older fw version
{
sprintf(str, "Can not write to device %s", dev_str);
goto OUT_ERROR;