LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save Array data and use it in a VI: it's possible?

See this figure:

 

05 - domanda 12-13-14.JPG

 

1) I desire to save an array with ONLY same data that are taken only if there is a particular condition like the figure (Array3). I have done this, but doesn't save array, but only the last number. Can You do this VI to save an array when the condition of CASE LOOP it's true?

 

2) Il the right part of VI I desire save an array (better MAtrix Array), but I desire only an array of 30 element. After 30 elements I desire to start again from index 0. Can I do this? And after I desire to show in control panel the data of particular index (for example the 3 value of the same index of the maximun of the second column). Can I do this? 

 

3) To finish I desire save array of 30 elements in an excel file.

 

Can You repeat a VI in LW8 for me please with this corrections? Thanks.

Message Edited by Michelle1892773 on 02-23-2010 05:00 PM
0 Kudos
Message 1 of 10
(3,636 Views)

For array three try making the build array block so it has 2 inputs, put the data you want to add into the second input, and put the output of the block as feedback into the first input.

0 Kudos
Message 2 of 10
(3,617 Views)
can you do whit features of question 1, 2 and 3? Maybe ut's simple to understand.
0 Kudos
Message 3 of 10
(3,615 Views)

1.png

 

hope this answers all the 3 questions.

Regards
Guru (CLA)
Message 4 of 10
(3,588 Views)
Can You post your VI for LW8? Thanks.
0 Kudos
Message 5 of 10
(3,578 Views)

Can You post your VI for LWV8?
Regards
Guru (CLA)
0 Kudos
Message 6 of 10
(3,576 Views)

Guru but if I desire to save data in array, It's necessary to put an array indicator in front panel and after hide it? Or it's possibile to create a array directly in block diagram that I don't use in front panel but only in block diagram?

Thanks for VI.

0 Kudos
Message 7 of 10
(3,573 Views)

If you want to "present" (or show) the data in the Front panel then you must create a control/indicator for that..

 

If you dont want to show ,why you want them in the block diagram (as well in frontpanel)?

Regards
Guru (CLA)
0 Kudos
Message 8 of 10
(3,568 Views)
Like algoritmical variable used byt he program, but not important to see.
0 Kudos
Message 9 of 10
(3,562 Views)

Michelle1892773 wrote:
Like algoritmical variable used byt he program, but not important to see.

In LabVIEW that "variable used byt he program, but not important to see" is called a wire.  Smiley Wink

 

Play nice Michelle


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 10
(3,522 Views)