LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking VI and a Sub VI

Hi everybody,
How can I send data from the VI to the sub VI without a direct link with a think like a property node or some think like this.
0 Kudos
Message 1 of 20
(3,435 Views)

Hi Basile21,

you can use queues or notifier. Can you explain what you need? You can also be flexible with using property nodes. Smiley Wink

Mike

0 Kudos
Message 2 of 20
(3,432 Views)
Use the Set Control Value method, if you have a VI reference. If you have a
control reference, use the value or value (signalling) property.

It's not very decent programming to do this. It's better to use a buffer
vi/smart global/lv2 style global/action engine.

What are you trying to do?

Regards,

Wiebe.


0 Kudos
Message 3 of 20
(3,424 Views)

Hi Wiebe,

I have a VI in wich I have a Sub VI in wich I have a waveform chart and my purpose is to delete the graph at each run of this VI.

Thanks for your help.

0 Kudos
Message 4 of 20
(3,417 Views)
Hi Basile21,
in this case you can simply delete the graph in the subvi. Clear the graph before you do something else.
Mike
0 Kudos
Message 5 of 20
(3,389 Views)

Hi Mike,

Thanks, but I want to reset the graph automaticly before each run.Smiley Wink

0 Kudos
Message 6 of 20
(3,374 Views)

Hi Basile21,

yes, i understood it. So insert the delete function in your vi, before some other code.

Mike

0 Kudos
Message 7 of 20
(3,369 Views)


Basile21 wrote:

Thanks, but I want to reset the graph automaticly before each run.Smiley Wink



I don't know if this is your case, but i clear the graphs ant indicators at the end of the vi. So the next time it is called, it is ready.
0 Kudos
Message 8 of 20
(3,360 Views)

Hi Pnt,

Yes it's what I want to do, can you tell me how you do it please.

Thanks for your help Smiley Wink

0 Kudos
Message 9 of 20
(3,355 Views)
the simple way. Wire an empty array to it.
0 Kudos
Message 10 of 20
(3,349 Views)