Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
g-user opened this issue Feb 27, 2021 · 2 comments
Closed

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

g-user opened this issue Feb 27, 2021 · 2 comments

Comments

@g-user
Copy link

g-user commented Feb 27, 2021

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
Copy link
Owner

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

@SheetLightning
Copy link

Correction applied in version 0.49.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants