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

Support for keeping Joulescope turned on without having to have UI open #29

Closed
Stefanhg opened this issue Sep 27, 2022 · 4 comments
Closed

Comments

@Stefanhg
Copy link

Stefanhg commented Sep 27, 2022

Hello,
I got a request which have annoyed me A LOT
I got a test setup where i need to do system test of a DUT.
And here i use Joulescope for measuring current. This turned out to be a big regret as it can't enable/disable output.
And i cannot find any way of doing this using the Python library. What i want is to force it to be turned on until i turn it off again.

Currently my only solution is to keep the UI running but then i can't remote control the Joulescope which makes it useless..
Since the PyJoulescope_ui can do it. I would estimate there is API support for it somehow

@mliberty1
Copy link
Member

Hi @Decee1 - I am not entirely sure I understand what you are trying to do. If you just want to turn power on/off to the DUT, check out the dut_power example. Does this do what you want?

@Stefanhg
Copy link
Author

Hi @mliberty1
That was exactly what i needed.
It was just not documented in the API. Not a big fan of the 'parameter_set' function. Seems like a lazy solution to just making proper API documentation for each of the function calls.
But hey it seems like it works!

Does this time out after some time or will the output stay 'on' until for example the USB port no longer is busy?

@mliberty1
Copy link
Member

The JS110 will remain in the same state until you run another script that changes the state or the host computer no longer provides power to the JS110, such as when the host computer powers off or goes to sleep.

@mliberty1
Copy link
Member

You can find a full list of JS110 parameters and their descriptions in parameters_v1.py.

Since you have a working solution, I am going to close this issue. If you run into more issues, feel free to reopen this issue or create a new issue.

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