Page 1 of 1

RS232 Component Macro

Posted: Tue Dec 25, 2007 3:53 pm
by Ron
Hi,

I want to implement the RS232 Macro but there is no information that I can find regarding the nTimeout(byte) variable.

I have read all the help files I can find. There is no mention of how to set this variable to a time.

Ben had previously told me that he likes to set it to 50 - 100ms.

How do you set it?

Is it as simple as using a calculation block

nTimeout_Variable = 50 for 50ms

nTimeout_Variable = 100 for 100ms.


Thanks

Ron

Posted: Wed Dec 26, 2007 7:04 pm
by Benj
Hello Ron

Yes you are spot on. The timeout value is in milliseconds and you can just use a constant numeric value rather then a variable if that is easier.