Support

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

simple ruby question!

For general discussion related FlowStone

simple ruby question!

Postby Jay » Sun Jan 13, 2013 3:23 pm

hi all

If i have 2 values going into ruby but don't want them to execute the code within until it receives a trigger on a third input how is that done? currently i am using sample and hold components outside the ruby window!

could someone show me please?

Thanks :)
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: simple ruby question!

Postby TrojakEW » Sun Jan 13, 2013 4:37 pm

It's simple. You need to define and event method. Look in the example attached. You can also check user guide at page 131. That's how I learned that.
Attachments
ruby_trig.fsm
(342 Bytes) Downloaded 850 times
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Re: simple ruby question!

Postby Jay » Sun Jan 13, 2013 6:50 pm

Thanks TrojakEW

yeh i was trying to do it from reading the guide but i seem to be placing things the wrong way round :oops: but this is a good help!

thanks again!
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm


Return to General

Who is online

Users browsing this forum: No registered users and 128 guests