kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Removed the fix for the broken *IDN? command. It has been fixed in newer firmware.
rodzic
b89a3cc8c1
commit
f03bf14c8d
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#define PROGRAM_NAME "DSRemote"
|
||||
#define PROGRAM_VERSION "0.32_1609122201"
|
||||
#define PROGRAM_VERSION "0.32_1609152016"
|
||||
|
||||
#define MAX_PATHLEN 4096
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue