From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph

Solved!
Go to solution

I am trying to plot 2 VI curves onto one graph.  These are read from a spread sheet.  I can successfully read in both curves but they won't appear on the graph until I have read both in therefore I can't display only one.  I've spent near enough a whole day trying to solve this problem.  Is there a way to get only one curve dsiplayed.

 

Thanks,

 

Matt.

 

Code and severl sample documents which are being read in are attached below.

0 Kudos
Message 1 of 3
(2,433 Views)
Solution
Accepted by topic author gilgad2000

That VI does not make any sense. You should not use two separate event structures and you should not use an event structure without a while loop. With a single event structure and a couple of shift registers, you should be able to do what yuo want. Try the attached code. Since you did not attach any text files, I did not test it.

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

Thanks for the help.  Still new to lab view so havn't got used to efficient coding yet.

 

 

Thanks,

 

Matt.

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