11-15-2015 11:00 PM
Nested For loops with N values of 24, 60, and 60 and 1000ms Wait.
Just a timer.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
11-17-2015 10:02 PM - edited 11-17-2015 10:03 PM
OK, I was told to use a FOR loop to process an array of images. I think an even better idea would be to put the code into a FOR loop with a 1 wired to N and duplicate that FOR loop as many times as I need. Unfortunately, I now get 3D arrays at the output tunnel.
(Look at the navigation window for the extent of the problem!)
11-17-2015 10:26 PM
altenbach wrote:
OK, I was told to use a FOR loop to process an array of images. I think an even better idea would be to put the code into a FOR loop with a 1 wired to N and duplicate that FOR loop as many times as I need. Unfortunately, I now get 3D arrays at the output tunnel.
As if the multiple single run FOR loops wan't enough, it was the filepath constants inside them that really got me gobsmacked.
I sat there stunned until I read the filename you gave the image which finally snapped me out of it... looplooplooplooploop.png LOL!
11-17-2015 10:26 PM
Is there a better word than 'insane'?!
11-18-2015 08:15 AM
@parthabe wrote:
Is there a better word than 'insane'?!
Loopy.
11-18-2015 09:19 AM
@altenbach wrote:
OK, I was told to use a FOR loop to process an array of images. I think an even better idea would be to put the code into a FOR loop with a 1 wired to N and duplicate that FOR loop as many times as I need. Unfortunately, I now get 3D arrays at the output tunnel.
(Look at the navigation window for the extent of the problem!)
"Oh! you said "paralelized For Loop" not "paralel For Loops"
Ben
11-18-2015 10:52 AM
@Ben wrote:
"Oh! you said "paralelized For Loop" not "paralel For Loops"
Yes, maybe that guy is way ahead of us and is designing the code for the massively parallel quantum computer of the future. 😄
11-19-2015 08:21 AM
Well to be fair if someone says to make parallel for loops, and you didn't know about that feature in LabVIEW, the literal translation seems appropriate. Overly complicated, but appropriate. So glad LabVIEW does this for us with a simple right click.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-19-2015 08:36 AM
@Hooovahh wrote:
Well to be fair if someone says to make parallel for loops, and you didn't know about that feature in LabVIEW, the literal translation seems appropriate. Overly complicated, but appropriate. So glad LabVIEW does this for us with a simple right click.
Confesion time!
Once apon a time, in a program far far away...
I actually split up the array processing using parallel loops and it worked to improve the performance.
So who am I to judge?
Ben
11-19-2015 10:32 AM
@Hooovahh wrote:
Well to be fair if someone says to make parallel for loops, and you didn't know about that feature in LabVIEW, the literal translation seems appropriate.
Of course nobody said anything like that in the quoted thread.