Trigger Widget #93
Labels
No Label
Bug
Cleanup
documentation
Driver
duplicate
Feature
Firmware
glscopeclient
good first issue
Hardware
help wanted
invalid
Linux
performance
question
scopeserver
Windows
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AllSpice/ThunderScope#93
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Should have three fields for now
Trigger Type [Rising Edge, Falling Edge]
Trigger Channel [CH1, CH2, CH3, CH4]
Trigger Level [Analog range based on what the vertical setting of the trigger channel is]
Hey @AleksaBjelogrlic, I started work on this and made some initial progress as shown below:
You can check out the
features/trigger-widget
branch locally and view it yourself as well if you'd like.Currently, the state just holds these three key values
I just had some further questions about implementation:
Let me know what I should be doing regarding these points, and feel free to point out anything else I may have missed as well.
Thanks!
Are TriggerType and TriggerLevel bound to its associated channel?
Yes, each channel should have memory of it's trigger settings so user doesn't lose them when switching channels
What exactly should TriggerLevel show?
It's a voltage and should be a float and an analog value that the user can set to whatever they'd like.
PR for the trigger widget is now up. Although I think it's mostly complete, I decided to just have a plus/minus option for the trigger level for now (increments it in +/- 0.1 intervals) instead of having an option for the user to input whatever value they'd want.
This is because we haven't done user input in our program yet, and I feel like this should be a separate task to investigate and full proof this before implementing it in widgets. Then, we can start adding in this feature to other widgets as needed. This will be tracked in issue #102