LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i solve this problem?

Hi
 
I was wondering if anyone out there knew what was happening (see attached) ?
 
Thank you.
0 Kudos
Message 1 of 8
(3,749 Views)
Well, the VI does exactly follow the instructions given by your wires. 😉
 
Seriously, if you want help you should tell us what you think should be shown by the probes instead. You should also attach the VI instead of a picture so we can get the full information. What kind of data is generated in the two loops on the left?
0 Kudos
Message 2 of 8
(3,741 Views)

Hi

 

Sorry about that.

I have attached the relevant vi.

I am trying to get 4 individual graphs from the initial data coming from array.

 

Thank you.

0 Kudos
Message 3 of 8
(3,738 Views)
Could you attach your program once more. Please run it first so the three inputs (NumRpoints, Array of filesize, Array) contain real data. Now select "make current values default" before saving so we have some data to play with ;). Thanks!
0 Kudos
Message 4 of 8
(3,732 Views)
 
0 Kudos
Message 5 of 8
(3,721 Views)
0 Kudos
Message 6 of 8
(3,721 Views)

Well, you are already getting 4 plots, except for the cosmetic problem that all are padded with zeroes to the longest array. This is caused by the way you create the 2D array for the x-axis. The second autoindexing forces all rows to be the same lenght. (In a 2D array, all colums have the same lenght and all rows have the same lenght).

If you don't want this, you could place each 1D array inside a cluster, then unbundle it in the second loop. Now each 1D array can have different lenght. (example I)

Even easier, you can place the small loop inside the second loop (example II)

There are many other ways to do this.

 

 

Message Edited by altenbach on 10-23-2005 08:54 PM

Download All
0 Kudos
Message 7 of 8
(3,718 Views)
the second wave chat is used for what? I can not understand,please say learly.
0 Kudos
Message 8 of 8
(3,713 Views)