Hi,
I have two VIs. The main vi, and another one (let me say it vi2). Well,
First in my main VI I open a reference (open block) to vi2 (vi2
contains a wave graph that I update each x ms from main.vi). Then, main
VI updates vi2 each x ms, for this reason I must to open vi2 before I
can update the wave graph inside it. I open vi2 but the user can
see it because I open it in hide state. Vi2 remains opened in
hide state until vi main finish its execution when the user force it
through his menubar. Vi main has a button that when the user press it,
it shows vi2, in other words, vi2 changes its state from hide to
visible by setting the state property to standard (1). When the user
sees the vi2 he can then hide again it by pressing a button placed in
vi2. What makes this button is change the state of vi2 from visible
(state property = 1 standard) to hide (state property = 3) and it
remains hidden until the user press the button again from main vi.
Finallly, when the user from main vi wants to see again the wave form
graph of vi2, he presses the button placed in main vi to see the
vi2, but.... it doesn't appears, the vi2 doesn't change its state
to visible, what happens? What makes this button placed in main vi is
to change the state of vi2 from hidden to visible by setting state
property = 1 standard, I don't open reference to vi2 again, I only open
reference to vi2 once time when I open main vi by the first time and
then I continuosly hide and set visible vi2 when user press the
apropiate button.
Thanks,
ToNi.