12-28-2009 03:58 AM
Solved! Go to Solution.
12-28-2009 04:04 AM
12-28-2009 04:04 AM
The best way is to use a 'State machine' framework.
Refer to NI help & website. Many example of State machine exist
12-28-2009 04:11 AM
The program is too long.
The first stack deals with the filter.
The second stack deals with the camera. The camera initialisation part is in stack0- stack 1 to 10. In this part the camera initialisation, set shutter speed,get pixels etc need be executed only once.
12-28-2009 04:19 AM
12-28-2009 04:22 AM - edited 12-28-2009 04:23 AM
Try to adapt your code to this kind of framework (State Machine): easy to maintain.
Note : The Enum must be a Strict Type def to make easier the maintenance
12-28-2009 04:22 AM