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

Incompatibility with DP811A #6

Open
busbuyukefe opened this issue Dec 22, 2022 · 3 comments
Open

Incompatibility with DP811A #6

busbuyukefe opened this issue Dec 22, 2022 · 3 comments

Comments

@busbuyukefe
Copy link

Hi, I see that the project is specifically for DP832 but nevertheless I tried it with my DP811A.
The problem is when I try to run this program to control my PSU it prompts a warning that says "Remote command is incorrect!"

Do you have any idea why this might be happening what can I do to overcome this?

@newAM
Copy link
Owner

newAM commented Dec 22, 2022

It is likely the hardcoded number of channels:

const NUM_CH: usize = 3;

Can you try changing that for your PSU and see if it works?

@busbuyukefe
Copy link
Author

I changed it to 1, recompiled the program but unfortunately the issue still remains.

@newAM
Copy link
Owner

newAM commented Dec 23, 2022

If you're comfortable with GDB you can step through the commands sent to the PSU and find the one that causes it to say "Remote command is incorrect!"

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

2 participants