|
|||||||||||||
05-25-2010 07:06 PM
I am posting my solution for the CLD Traffic Light Sample Exam. Comments and input is appreciated. The main VI is Traffic Lite.vi.
Thanks in advance.
05-25-2010 11:11 PM
11-17-2010 10:19 PM
I guess this is for whoever comes after, but since couldn't find an update to this post anywhere else. First, the interface seems to be slow to respond. This is because the event structure is located in the state handling loop. You might want to consider placing the event handler in a separate loop that is used strictly to handle such interactions. Second, you are using waaaaaaaaaay too much CPU - throttle that loop (10 ms should be fine). Finally, consider using the elapsed time express sub VI instead of your own VI - this will save time and energy.
Hope this helps future CLDers.
Cheers, Matt
04-20-2012 09:29 AM
All great suggestions. Thanks.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page