Hi All,
I have troubles with some LabVIEW controls and indicators when I call certain VIs from Teststand. My problem is, that some controls or indicators are not beeing cleared or resetted to default each time I call the VI during a test cycle. For example there is VI-Call at the start of my Test-Sequence to retrieve some informations from the user (Visible Front-Panel). The VI has an Enum-Control with 3 Items. Item 0 is the default value. If I select the third Item for example in the first Test-Cycle, the Enum-Control is still on the third Item in the following cycles.
Within another VI I wait for a signal from the FPGA-Interface. If the signal comes, a boolean Indicator lights up. In the first test cycle everything works fine, but in the following test runs the boolean is still on from the previous VI-Call yet before the signal came.
Until now I tried really everything. From setting the VIs to reintrant and setting the VI-Option "Clear Indicators when called" (works, but the tests run slowlier) or putting an "Reinitialize All to Default Values"-Node on the Blockdiagramm before the program code starts (not good, because all VI Control-Values passed by Testsand are cleared through this method). The only thing that worked so far was to not set the "Preferred Execution System" to "same as caller" in the concerned VIs. For example the option "User Interface" worked.
What could be the reason for this strange VI-behavior when it is called from Teststand?
Thanks a lot!
Stefan