LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear waveform history using reference

Solved!
Go to solution

Hello,

 

I would like to clean the history of the waveform that I have in my Main Vi. I am passing its reference to a subVi. I am not able to find the History Data property among the other properties of the Property node. Here is that I have:

 

Clearhistory.png

 Thank you.

 

-H.

0 Kudos
Message 1 of 7
(3,418 Views)
If you're passing the reference to the subVI why are you accessing the main VI via the VI Server? Simply use the reference front panel control. Is this a subVI that you're launching dynamically?
0 Kudos
Message 2 of 7
(3,413 Views)
Solution
Accepted by H P

And, I think your chart reference is wrong. Did you copy the reference from the main? In your main, have you wired up a data type? Since there is a variety of data that can be wired, you need to do this so the the history is the correct data type.

 

And what are you trying to do with the True constant wired to the while loop's termination terminal? The loop will only run once.

Message Edited by Dennis Knutson on 03-09-2010 02:33 PM
Message 3 of 7
(3,411 Views)

I was able to get to the Property...

 

Richard






Message 4 of 7
(3,393 Views)

You probably want Invoke Node -> Reinitialize to Default .

 

-Rob 

0 Kudos
Message 5 of 7
(3,380 Views)
Thank you, I was missing the Data Type
0 Kudos
Message 6 of 7
(3,377 Views)

smercurio_fc wrote:
If you're passing the reference to the subVI why are you accessing the main VI via the VI Server? Simply use the reference front panel control. Is this a subVI that you're launching dynamically?

 

I would assume when someone shows using refernces like this, they are showing an example of how they are using the reference in a sub-vi. That's the only thing that makes sense, unless you just like doing things the hard way.Smiley Wink

 

Richard






0 Kudos
Message 7 of 7
(3,376 Views)