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

Loop mode should establish initial conditions (disconnected or connected) or block if in wrong state #32

Open
terrillmoore opened this issue Sep 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@terrillmoore
Copy link
Member

Ubuntu 20.04 LTS / XFCE / 2101

I am testing mass storage on an embedded host. Each pass takes about 47 seconds to run, so I set the test up at 60 seconds with a 90% duty cycle.

I pressed start without noticing that the switch was already on. I expected that either Cricket would turn off the switch and wait the off part of the duty cycle, or that it would refuse to start the loop ("need to start loop in disconnected state" or similar).

Suggested behavior: calculate the "off" time, and start by turning off for that period of time. Either add an extra half cycle (so that loop always ends in off) or end the loop in the starting state. (Preferred for test control is that the operator can specify the desired starting action (connect or disconnect) and then the program puts in the extra half cycle to make sure the test starts with a connect after minimum disconnect, or disconnect after minimum connect.

@terrillmoore terrillmoore added the bug Something isn't working label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants