|
Re: Vision processing works in RUN, not in START-UP
We had the same problem.
In our code, we noticed that each time the project was restarted (like after a computer reboot) all the vision values that we had altered in the front panel of the vision.vi (vision size, particle count, intensity...etc) had changed back to their original setting. What we had to do was go and change all the controls in the vision.vi to constants in the block diagram editor so we could be sure that they wouldn't change when the code was initially started.
Also, we noticed that our code only worked when we switched to the intensity tab on the vision.vi front panel (I think it starts out on the color tab by default). The weird thing about this is that in the block diagram it shows that the intensity tab is what's set to default. We altered the tabs on the front panel so that the intensity tab was first and the color tab was second.
After that, everything was fine. Hope this helps.
|