Do Not Use Long_while()!
Spire_Jeff
Formerly Caffeinated Programmer
This is currently in the text sorting thread, but it was so not nice to me, I decided it needed it's own thread.
The help file briefly states that: NOTE: DEFINE_EVENTs events are still processed even if mainline is in a LONG_WHILE. LONG_WHILE should not be used in Events. It may cause unexpected results.
I am here to tell you that IT WILL cause MAJOR delays. I didn't have any problems with things not evaluating correctly, but the statement in question took about 5-10 minutes to operate based on LONG_WHILE and only 3 seconds based on WHILE.
Hope this helps someone in the future,
Jeff
The help file briefly states that: NOTE: DEFINE_EVENTs events are still processed even if mainline is in a LONG_WHILE. LONG_WHILE should not be used in Events. It may cause unexpected results.
I am here to tell you that IT WILL cause MAJOR delays. I didn't have any problems with things not evaluating correctly, but the statement in question took about 5-10 minutes to operate based on LONG_WHILE and only 3 seconds based on WHILE.
Hope this helps someone in the future,
Jeff
Comments
-
You asked for a LONG_WHILE and you got a REAL_LONG_WHILE.Spire_Jeff wrote:but the statement in question took about 5-10 minutes to operate based on LONG_WHILE and only 3 seconds based on WHILE.
-
Interesting.... I know that NetLinx makes no difference between WHILE (Axcess: automatically canceled after 0.5 secs), MEDIUM_WHILE (no automatic cancellation, no processing of bus -> Axcess killer) and LONG_WHILE (no cancel, but operating bus)
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums