View Full Version : How? send a command, wait a few seconds and re-send?
Ron
October 13th, 2002, 12:55 PM
Ron: how long can string variables grow? unlimited?
The length of strings is only limited by the available memory.... so plenty of room here.
SteveV
October 13th, 2002, 12:55 PM
HI Jeff,
You'll need to create a MultiGroup command (right click inside the treeview and select "Add MultiGroup") and add three commands to it. For commands 1 and 3, select the appropriate Girder actions to send your X10 commands. For command 2, use the Girder wait action which can be found on the "Window" action tab. Enter the number of milliseconds you want Girder to wait in the X/Timeout [ms] field. For a value of ten seconds you'll need to enter a value of 10000.
Regards -- Steve
SteveV
October 13th, 2002, 12:55 PM
even though this is probably going to work, there's a problem with it: Girder is blocked for these 10 or so seconds...
:oops: Very true
--Steve
Ingo
October 13th, 2002, 12:55 PM
even though this is probably going to work, there's a problem with it: Girder is blocked for these 10 or so seconds.
To avoid this, you have to build something like a send-queue (should be possible using girders strings variables and a otherwise unused character as delimiter between two messages) and set a timer that periodically calls the send command until the queue is empty...
Ron: how long can string variables grow? unlimited?
jediperry
October 13th, 2002, 12:55 PM
The most simple way is to use the alarm timer plugin. It has a command on start and end setting.
Mike
jeffelliott
October 13th, 2002, 12:55 PM
My drapes are controlled by x-10 appliance module. I need to send a command to say "A1-On", wait for about 10 or so seconds and then send "A1-Off". I know how to send a command. How to I make girder wait and then send another??? Thanks for any help you may be able to provide!!
Jeff
jeffelliott
October 13th, 2002, 12:55 PM
Tried the timer plugin... works like a charm. Thanks to all for your help!!!
Jeff
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.