LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Top vi loses values in memory after executing subvi

I have a vi that's been opened with the 'run vi' method of a Top vi, SLH-dispatcher.vi.

 

When I execute a subvi (with frontpanel showing) in SLH-dispatcher.vi, all values in the Top vi lose their state. I set those values with cvt's.

 

What's happening? 

0 Kudos
Message 1 of 3
(2,059 Views)

What is that VI supposed to show us? Your post is very brief, and you don't explain what the VI does.

 

As for structure:

 

Were you trying to create a state machine: Application Design Patterns: State Machines

 

Were you trying to create a producer/consumer architecture: Application Design Patterns: Producer/Consumer

0 Kudos
Message 2 of 3
(2,043 Views)

Solved. I forgot to post the sub vi.

 

I initialized the memory form the cvt array to default in my sub vi by calling the init cvt. 

0 Kudos
Message 3 of 3
(2,030 Views)