LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding another plot programatically

Solved!
Go to solution

Hi,

 

I would like to be able to do a few basic things and I've search around but it didn't yield any solution for me. I'm hoping that this board will be able to help me.

 

1. I have a set of 2D array which i plot to a waveform graph and i would like the x-scale to start from the value i set in Temperature.

2. I would like to be able to click 'start', the program starts to take real time measurements. Then when I click 'load' and it'll load a saved measurement into the graph while it is still taking measurements and unloads the saved measurement when i click on the 'unload' button.

3. I would like to be able to hold a set of measurement (in this case 50 points) at any given time, adds the set to the table and graph while the program is still taking measurements. And when i click on the 'unhold' button and it'll dispose of the second set of data.

 

Thanks in advance!

 

Download All
0 Kudos
Message 1 of 5
(2,756 Views)

Help anyone?

0 Kudos
Message 2 of 5
(2,741 Views)
Solution
Accepted by topic author firefly123
Message 3 of 5
(2,728 Views)

The text from my post got lost and editing couldn't put it back again.

 

I wasn't clear on the sequence of your requirements but your program wouldn't work the way you had your event structure and the while loops. I've modified your code to have two parallel loops, I don't expect it does what you want but it might give you some ideas to try.

 

Ian

Message 4 of 5
(2,716 Views)

Thanks lanW. You've pointed me the way forward and I was able to write my code as intended. 

0 Kudos
Message 5 of 5
(2,698 Views)