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
RS232 Component Macro
- 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:
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel