LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert 5 number manually to array

Solved!
Go to solution

Hi Himmel,

 

you need to use (and understand) shift registers - as mentioned before!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 15
(1,573 Views)

You need five different values or same value five times

 

if five different values and values are generated dynamically place the value generation or aquisition inside for loop which will provide five different values

if same value five times feed same value to all five index in this case you dont need loop

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 12 of 15
(1,565 Views)
Solution
Accepted by topic author Himmel

Instead of 1 large wait, perhaps you should use a smaller wait inside of your loop.  This would better simulate a sensor sending you data.  And then you just use the autoindexing tunnel to make your array.  So since you want 5 readings in 2 seconds, a 400ms wait should work for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 13 of 15
(1,552 Views)

thank you ! 

I am new by Labview . I  have another question .  in which Platte I can find DBL als control and Array?

Thanks

0 Kudos
Message 14 of 15
(1,540 Views)

Those are terminal.  You create controls on the front panel.  Array container in the array palette.  Double in the numeric palette.

 

These are very basic LabVIEW quesitons.  I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 15 of 15
(1,538 Views)