RS232 Component Macro

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times

RS232 Component Macro

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post 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.

Post Reply