Twilight-Logic / AR488

AR488 Arduino GPIB Interface
GNU General Public License v3.0
215 stars 62 forks source link

Interface responds to a SCPI *idn only if it´s lowercase #14

Closed g-user closed 3 years ago

g-user commented 3 years ago

I have an old device that doesn´t responds to *idn. So I set the interface to respond to that.

But the program sends the *IDN - command in uppercase, so the interface doesn´t react to this command.

My Solution: change the line (837) if (strncmp(buffr, "*idn?", 5)==0) {

to

if (strncasecmp(buffr, "*idn?", 5)==0) {

Twilight-Logic commented 3 years ago

Thank you for your report. The change will be implemented in the next release.

SheetLightning commented 3 years ago

Correction applied in version 0.49.14.