LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Put 2 elements in a Table

Solved!
Go to solution

Hi people, finally I did a program that works very good but only there is a problem.

 

The problem is that in the table you can see in the photo "program1"  have the continious time and the continious data in all the lines. And I don't know how to do the picture "Iwant" that I add, in different lines see what happens with the voltage and time. 

 

 

I looked for in all the forum and others, there are no examples about tables + data. Like what I want...

 

 

Anyone have an idea how to do?

 

 

thanks a lot,

 

Download All
0 Kudos
Message 1 of 25
(3,358 Views)

Why do you have a For Loop set to execute 20 times on the exact same inputs and autoindexing that into an array?

 

And if you want to create an array of different times, don't you think you need to build the new data into an array that you are maintaining in a shift register?

0 Kudos
Message 2 of 25
(3,356 Views)
Mmm I put the for loop because I only want 20 samples and this only uses 20 lines in the table. I use a shift register to calculate the time...do you want the VI code? thanks
0 Kudos
Message 3 of 25
(3,354 Views)

If I don't use the for loop see what happens :S

0 Kudos
Message 4 of 25
(3,349 Views)

You now have a 1-D array that represents one data point. Now you have to read the 2nd point in my message and build that into a 2-D array that you are maintaing in shift register.

0 Kudos
Message 5 of 25
(3,346 Views)

"And if you want to create an array of different times, don't you think you need to build the new data into an array that you are maintaining in a shift register?"

 

 

Can you help me how to build the new data into an array that Im maintaining in a shift register? because I know the problem where is but i don't know ho to solve...srry Im a beginner of labview... 😞

0 Kudos
Message 6 of 25
(3,343 Views)

You really need to take those tutorials that were recommended to you in other messages.  Shift registers are an important fundamental LabVIEW skill that you must learn.

 

Attached is an example that demonstrates them.

0 Kudos
Message 7 of 25
(3,336 Views)

Yes I know...after solve this problem I use the tutorials...because Im bit confusing..

 

Maybe I tried something like this..

0 Kudos
Message 8 of 25
(3,333 Views)

Maybe Now I hve this...

0 Kudos
Message 9 of 25
(3,325 Views)

You're a mess.  Why would you change the first build array into a Bundle cluster?  Did I use a Bundle Cluster in the example I gave you?  NO!

 

Try learning before doing.  Obviously trying to solve the problem before learning how to use LabVIEW is not working for you.

 

Do the tutorials before you post another question on the forums again.  Otherwise you are wasting your time and ours.

0 Kudos
Message 10 of 25
(3,313 Views)