View Full Version : Adding Delay between commands
mred589
September 21st, 2003, 05:49 PM
How can I add A delay between the executed commands.
I need to know this because I have other programs controlling girder and they are sending commands too fast for the serial device (a cable box) to react.
Mark F
September 22nd, 2003, 09:33 AM
If all the commands are generating strings that need to go out the same serial port, you could change the transmit message settings to include an intra-command delay.
miked
September 22nd, 2003, 02:39 PM
Also, note that Mark's suggestion even work where the commands are sent by different Girder commands.
For instance, I have a plug-in that communicates with my Faroudja video processor via the serial port. One of the multi-groups is something like:
Command to turn Faroudja on
Command to switch Faroudja to S-Video source
With an inter-command delay, Faroudja would go on, but not switch to the s-video source. I added the inter-command delay (1 sec), and bingo, all is well.
Also, you may want to insert an inter-character delay, so that each character of a string is separated by a period of time (10 ms or so, for instance).
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.