View Full Version : How to get a delay within a multigroup?
Ron
October 13th, 2002, 12:55 PM
Use the "wait action", don't check wait for window and enter the time in milliseconds.
Ron
October 13th, 2002, 12:55 PM
While I agree completely with Mark, for 20 *milli* seconds the wait seems fine. :-)
Ron
October 13th, 2002, 12:55 PM
Of course reading back the original post he did say seconds, i guess he ment milli seconds though :-) In case he meant seconds use Marks solution !
Mark F
October 13th, 2002, 12:55 PM
Ron's solution works but ... :)
The wait command stops Girder from processing other events until the wait is complete (20-30 seconds???). If you'd like an asynchronous wait (where you can do other things while the screen is rolling down/up), you could set up a second command and a delayed UserEvent.
The idea would be the current multi-command would start the screen coming down/up and would schedule a delayed userevent. The command that stops the screen would be triggered by this delayed userevent. In between the two commands, other Girder functions and commands could be executed.
This is just another approach which will yield about the same results. :)
Ts.T
October 13th, 2002, 12:55 PM
I have program for operating my motorized screen thru the parallel port, the setup works with a relay card wich is run throgh the supplied program. Unfortunately the program is only able to turn the relays on/off through pressing a key. With girder it seems fairly easy to work around this since it is easy to start the program and turn on one channel, that turn the screenmotor on, itīs also easy to close the program again but I need a 20-30 seconds delay from start to stop to allow the screen to roll all the way down. How to achieve this?
Thomas
Ts.T
October 13th, 2002, 12:55 PM
Thanks that worked fine.
I LIKE this program its awesome.
Thomas
Ts.T
October 13th, 2002, 12:55 PM
I did mean seconds not millisekonds, but I have timed the screen now and it will need about 8-10 sec to get all the way down/up. I have got it working with the wait command. But of course itīs a more effective solution to use Marks solution. I will try that later. Iīm just amased of the power of the program and yet I have only played with it for a couple of hours.
Thomas
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.