04-25-2013 01:44 PM
Hello,
I would like to advice how do this in LabView:
I have XY graph and with two position-ON/OFF.
When I will have button in ON I would like to see graph and when I will have button in position OFF a would like to hide this graph.
Thanks for advice 😉
04-25-2013 01:47 PM - edited 04-25-2013 01:48 PM
04-25-2013 01:49 PM
Have you tried using a property node "Visible" for the XY Graph? See attahced...
04-25-2013 02:00 PM
It going pretty well!, thanks for fast advice 🙂
04-27-2013 08:19 AM
One question yet, Is existing some function similar as visible, to clear history graph on this click button?
Thanks
04-27-2013 09:16 AM
Just write an empty set of data to the graph.
04-27-2013 10:48 AM
How can I do that? Please
04-27-2013 12:33 PM
Before running your VI after opening it up, right click on the wire that goes into the Graph terminal and pick Create Constant. That will give you an empty set of data that is the right datatype for the graph. (Graphs have different ways of providing them data that have differences in the datatype.)
Now take that constant and put it at the spot in your code where you decided to empty the graph (such as in a case structure.)
04-30-2013 01:52 AM
Sorry but it isnt work it for me. Could you show me please on some example? When I click on logic button I need write this empty set of data.
Thanks
04-30-2013 02:00 AM