123
Senior Member
The Command class is used by Premise drivers (i.e. Modules) to send data via a serial port. It has a property called WaitTime whose purpose is to provide 'deadtime' between successive commands. Here's its definition:
After sending this command wait this amount (ms) before sending next command.
WaitTime is for serial communications and not for IR transmissions as confirmed by Damon in another post. EDIT: I may have this completely bass-ackwards. Damon indicated the Command Delay, in Macros, is for IR communications and not for serial communications. Perhaps this also applies to the Command's WaitTime property.
What it fails to mention is if it has a maximum value. I've tried using 1250 ms and I've not seen any delay between successive commands. 2000 and 3000 ms are also ignored.
Is it possible that WaitTime only works for values less than 1000 ms?
FWIW
I'm creating an Omnistat/2 driver for the RC-2000 and I need to wait at least a second between successive transmissions. I've based it on the old Omnistat driver and it uses a 1250ms WaitTime ... but my logs show there's no delay between commands.
After sending this command wait this amount (ms) before sending next command.
What it fails to mention is if it has a maximum value. I've tried using 1250 ms and I've not seen any delay between successive commands. 2000 and 3000 ms are also ignored.
Is it possible that WaitTime only works for values less than 1000 ms?
FWIW
I'm creating an Omnistat/2 driver for the RC-2000 and I need to wait at least a second between successive transmissions. I've based it on the old Omnistat driver and it uses a 1250ms WaitTime ... but my logs show there's no delay between commands.