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
How update all ruby input on trig?
2 posts
• Page 1 of 1
How update all ruby input on trig?
how to update the inputs of rubyeditor?
for example:
if you connect something to an input and disconnect it, it retains its value.
then in rubyeditor the value will always be the same until it is re-trig on that input.
even if you send a trig from ruby to the input before requesting the value of the input it will reset the input,
but the value obtained will be prior to trig anyway.
no way inside the ruby to get a refresh of all inputs, before accessing the value of the input?
maybe I missed to understand something?
for example:
if you connect something to an input and disconnect it, it retains its value.
then in rubyeditor the value will always be the same until it is re-trig on that input.
even if you send a trig from ruby to the input before requesting the value of the input it will reset the input,
but the value obtained will be prior to trig anyway.
no way inside the ruby to get a refresh of all inputs, before accessing the value of the input?
maybe I missed to understand something?
- Tronic
- Posts: 539
- Joined: Wed Dec 21, 2011 12:59 pm
Re: How update all ruby input on trig?
I ran into the same problem. Right now there is no way to determin if an input is connected at all. So you can't reset on disconnected and you can't set a proper default value if an input is not connected (beside the internal defaults).
-
MyCo - Posts: 718
- Joined: Tue Jul 13, 2010 12:33 pm
- Location: Germany
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 44 guests