LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect 1d array of strings to an input string terminal

Solved!
Go to solution

Can i just do 3 nested for loops and iterate them 27times.

0 Kudos
Message 21 of 40
(2,210 Views)

@reggie2016 wrote:

Can i just do 3 nested for loops and iterate them 27times.


Yes.

0 Kudos
Message 22 of 40
(2,201 Views)

Need help finishing this code.

0 Kudos
Message 23 of 40
(2,184 Views)

Wow, that's just one big mess, creating a 27x27x27 3D array (~20000 waveforms!) and some 2D array and 1D arrays, etc.! I would really recommend to start with the tutorials mentioned before going any further.

 

Basically, you need two stacked loops and no duplicate file IO code (all code is in the innermost loop). One loop has 3 iterations and the other has 27 iterations. You get the 2D array out, no reshaping necessary.

0 Kudos
Message 24 of 40
(2,178 Views)

ugh fine are there any other tutorials i need to know about other than the ones before.

0 Kudos
Message 25 of 40
(2,173 Views)

@reggie2016 wrote:

ugh fine are there any other tutorials i need to know about other than the ones before.


Those weren't enough?  If you are looking for any more than those you'll likely need to take a course.  Contact your local NI sales rep to find training in your area.

0 Kudos
Message 26 of 40
(2,166 Views)

im in college and they dont teach labview so this is the only help im getting. i dont have a sales rep.

0 Kudos
Message 27 of 40
(2,125 Views)

Does this look right now?

0 Kudos
Message 28 of 40
(2,124 Views)

Still have some work to do.

 

What's the point of the third loop?  That isn't needed.

Why the Get TMDS Propperties?  You aren't getting anything out of it.  Get rid of it.

Your outter loop should be iterating 3 times, once for each module.  And use that value to build up your channel name.

Use Indexing Tunnels on both of your FOR loops.  That will create a 2D array of waveforms for you.



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 29 of 40
(2,114 Views)

one question using the percent sign for the channel name is there any way we can get it to start for 0 instead of 1.

0 Kudos
Message 30 of 40
(2,092 Views)