LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear graph

Hello everyone, I'm new with LabVIEW and was hopping some could help me.

 

I currently have a multiplot XY graph, and would like to clear it. But instead of clearing every plot, the user must be able to select wich plot to erase.

I'm using LabVIEW 8.0

 

Sorry, if my english is not quite good 🙂

 

Thanks 🙂

0 Kudos
Message 1 of 6
(3,276 Views)

Hi Vane,

 

You can make the blank XY Graph as a default graph, and you can use Reinit to default method to clear the graph whenever required.

 

.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 2 of 6
(3,265 Views)

Hi,

 

Reinitializing wont help the user to remove a user defined area of the graph. If i understand your question correctly, you can use two cursors and "delete from array" function to remove the portion which the user defines by the cursors.


Regards,

Nitzz

(Give kudos to good Answers, Mark it as a solution if your problem is Solved;)) 

0 Kudos
Message 3 of 6
(3,261 Views)

Since it is a graph, removing a single plot is pretty easy. Refer the attached example.

Message 4 of 6
(3,246 Views)
Hi Vane, By passing a blank array of data you can clear the X-Y graph. I have attached a example for your reference.
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 5 of 6
(3,227 Views)
The attached VI
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 6 of 6
(3,224 Views)