06-19-2012 09:49 AM
when I ve putted the vi into the "include" section, the error has disappeared !
I m persuadated that the problem is that the front panel is removed when building! but how to avoid that?!
06-19-2012 09:52 AM
there is no screenshot
06-19-2012 10:19 AM
@Sadok wrote:
when I ve putted the vi into the "include" section, the error has disappeared !
I m persuadated that the problem is that the front panel is removed when building! but how to avoid that?
If you place the VIs in the upper, "Startup VIs" section then, by definition, the front panel is not removed since these VIs are considered "top-level". That's why it works when you add it to this list. It works because the front panel is not removed, as the default setting is to not remove the front panel for VIs in this list. Adding the VIs to the bottom "Always Included" section would do the same thing since the same default is applied to this list. However, this is a work-around since the subVI is already included since it's being called as a subVI.
there is no screenshot
Sorry. Attached this time.