If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Trigger Toggles and Dual Sample & Hold
5 posts
• Page 1 of 1
Trigger Toggles and Dual Sample & Hold
I kind of wanted these so I made them. As with anything I make, they may not be the most elegant solution but I hope they're useful.
The first two modules toggle between two inputs whenever a trigger is received. The second module has two separate trigger inputs-- it will toggle to the top or bottom input depending which is triggered. The final module is like the second, but with sample and hold prims built-in. So it is effectively a two-headed sample and hold (rawr). Hopefully.
They should work with any green input.
Let me know if I did anything stupid. Or brilliant... I'll take that too.
The first two modules toggle between two inputs whenever a trigger is received. The second module has two separate trigger inputs-- it will toggle to the top or bottom input depending which is triggered. The final module is like the second, but with sample and hold prims built-in. So it is effectively a two-headed sample and hold (rawr). Hopefully.
They should work with any green input.
Let me know if I did anything stupid. Or brilliant... I'll take that too.
- Attachments
-
- TriggerToggle_DualSampleHold_by PHI.fsm
- (1.67 KiB) Downloaded 1041 times
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Trigger Toggles and Dual Sample & Hold
There are much simpler ways to implement all 3 of them using trigger blocker prims.
- Attachments
-
- TriggerToggle_DualSampleHold_by KG.osm
- (625 Bytes) Downloaded 1053 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Trigger Toggles and Dual Sample & Hold
KG_is_back wrote:There are much simpler ways
Oh of course there are.
People like you are why I gave up programming. Seriously though, thanks. I'll use these simple versions.
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Trigger Toggles and Dual Sample & Hold
I added the help text and my little GUI indicators because I think they're important for debug/visibility (and they're easy to take out).
- Attachments
-
- TriggerToggle_DualSampleHold_by KG.fsm
- (1.17 KiB) Downloaded 1058 times
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Trigger Toggles and Dual Sample & Hold
I was sure Last Switched didn't work like that. I thought the value actually had to be different (as with the "changed" primitive-- the tooltip uses the same wording), not that it just waited for triggers. Of course it's not written in the manual either.
Another thing I wish I had known a long time ago...
Another thing I wish I had known a long time ago...
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 116 guests