LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subvi front panel indicator will not show first time

Solved!
Go to solution

I have a subvi in my program which is called multiple times, when it's called, it will open its front panel. The text message is sent from main vi. My problem is, if the LabVIEW is a fresh start, this text indicator will not show. It will show whatever send to it afterwards, even after program stops and start again. If I close the program then open again, it will happen again. Any one has explanation? Thanks.

0 Kudos
Message 1 of 14
(3,368 Views)
Impossible to say without seeing your code. Are you using local variables, a shift register?
0 Kudos
Message 2 of 14
(3,364 Views)

Hi Denis,

 

Thanks for the replay. There's no variable involved, just direct wire. The attached are the screenshots. The forum will allow only three attachments, I'll add one more.

 

0 Kudos
Message 3 of 14
(3,347 Views)
0 Kudos
Message 4 of 14
(3,346 Views)
No one can debug an image. If you felt the need to post images, you should use a Snippet (look it up in the help).
Message 5 of 14
(3,338 Views)

No one else will have the environment to run the program. 

0 Kudos
Message 6 of 14
(3,334 Views)

Hi Dennis,

 

Thanks for the reply. I didn't know snippet before, I attached it.

 

0 Kudos
Message 7 of 14
(3,328 Views)

But now you did  not attach the subVI. Just make it simple and attach the both as VIs.

0 Kudos
Message 8 of 14
(3,312 Views)

The attached is the subvi, but I didn't attach the dll. Actually, I think later part doesn't matter for the issue. The text is sent to the subvi in the very beginning of the subvi, it should display it. It is direct wire.

 

Thanks for your help.

0 Kudos
Message 9 of 14
(3,306 Views)

hi

 

i don't really see the interest of your global variable string. First, you empty it, and then you do a Match Pattern function. Is this variable used somewhere else, and how?

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 10 of 14
(3,257 Views)