LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using appended array to draw a graph

Hi Guys,

I'm having a problem with using appended array. I used appended array to save the values from the analyser and then use those values to draw a graph. I have attached 2 VI with this post.  

                               1st-I can able to save the results in the appended array in different rows.                               2nd-I couldn't save the results in different rows. I can able to save the results in one row only. The new results are over write on the same row.  Can anyone help me with this please? RegardsMayuren

 

Download All
0 Kudos
Message 1 of 4
(2,941 Views)

I have attached the sub VI for the previous post

0 Kudos
Message 2 of 4
(2,940 Views)

It's unclear what you're trying to do in your "Calculations" state.  Tell us what you're trying to do there and we can help.

 

PS - mine is easier...

 

Message Edited by jcarmody on 03-06-2009 12:24 PM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 4
(2,918 Views)
Yep, I can use your idea as well. I used as an X-axis values for the graph which on the diagram you send. The X-values of the graph is constant, there are having the values as 5,6,7,8,9,10,11,12,13,14,15. And the y-values are getting from the network analyser via GPIB cable connection. I tried to receive the values one by one and save it on the shift register, break those values, use some of the values (the only 1st element of the each array) and send them together to draw the graph. I use append array to save the y-values in rows. But I couldn’t do it in the 2nd VI that I send before. The value is saved in one row and when the next value is received, the new value is overwriting on the same row. I want to save it in different rows.
0 Kudos
Message 4 of 4
(2,906 Views)