LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reinitialize to zero

Dear champions, Smiley Wink
 
Am using two subvi's(say 1 & 2) and calling them from a main vi. Using connector panes i took 1 output from both the subvi's and i used indicators to show them in the main vi.
 
 
My problem is when i run the main vi, the indicators are not updated with the correct values. During first time the correct values came and for second time, the first values remains till final. Smiley Surprised
 
How to proceed? Smiley Sad
 
Thanks,
Mathan


Message Edited by mathan on 05-09-2008 01:22 AM
0 Kudos
Message 1 of 9
(3,156 Views)

Hi mathan,

can you show a picture of your code, or upload your vi? Smiley Happy What do you make in your subvi´s?

Mike

0 Kudos
Message 2 of 9
(3,152 Views)
Dear mike,

can you show a picture of your code, or upload your vi? Smiley Happy

That's what i tried in my previous post, but unfortunately screwed up. Smiley Surprised
Here am trying again. Smiley Mad

What do you make in your subvi´s?

My USB reader will return ATR values. That's in an array. That is what am trying to display in my main vi. Smiley Sad



Message Edited by mathan on 05-09-2008 01:39 AM
0 Kudos
Message 3 of 9
(3,148 Views)

Hi mathan,

which values are not ok? Which ones do you want to reinitialize to zero?

Mike

0 Kudos
Message 4 of 9
(3,145 Views)

Dear mike, Smiley Happy

In the attachment, u c 2 different subvi's with 2 indicators bATR & bATR2 both should be refreshed with proper values. Smiley Sad

Thanks, Smiley Wink

Mathan

0 Kudos
Message 5 of 9
(3,143 Views)

Hi mathan,

like this? Smiley Happy

Mike

Message 6 of 9
(3,141 Views)

Lol!!!!!!! Smiley Wink

You are the champion man....... Smiley Very Happy

Greatttttttttttt Smiley Happy

Mathan

0 Kudos
Message 7 of 9
(3,137 Views)

Hi mathan,

and here a better solution. Smiley Happy

Mike

0 Kudos
Message 8 of 9
(3,135 Views)

Smiley Happy Dear mike,

Your second example works great. Smiley Tongue What a wonderful brain you have! Smiley Surprised am becoming totally mad of you dear. Smiley Wink

Thanks for ur continuous support,

Mathan



Message Edited by mathan on 05-09-2008 04:19 AM
0 Kudos
Message 9 of 9
(3,104 Views)