LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help duplicating rows of 2D boolean array

Hi all. I am new to LabVIEW, so I apologize in adavance if my question is basic. I have a 2D array of boolean values. I need to duplicate each row, inserting each new row after it's original row. (i.e.: [a;b;c] becomes [a;a;b;b;c;c]) I am currently auto-indexing the 2D array into a while loop, and trying to insert each auto-indexed row into a new array, but it isn't working... can someone please point me in the right direction? Thanks in advance for the help!
0 Kudos
Message 1 of 8
(3,182 Views)
Im relatively new also, so I hope this is what you want to do. Hope it helps.
0 Kudos
Message 2 of 8
(3,182 Views)
Thanks for the quick response! I forgot to mention in my question that we only have LabVIEW 6i at school. Is there a way for you (or anyone else) to back save your VI to a version I can read? Thanks!
0 Kudos
Message 3 of 8
(3,182 Views)
I would assume that VI's are backwards compatible so it should work considering there are no LV7 features on the VI. Anyway, I saved the VI as version 6.1. Hope it works.
0 Kudos
Message 4 of 8
(3,182 Views)
ARRGGGHHHHH!!! When I tried to open the first VI you posted, it couldn't b/c it said that version 7 is newer than version 6.i. Now it won't open the 6.1 VI b/c it says that 6.1 is newer than version 6.0!!!
So apparently I guess I need a version 6.0 VI???
I'm really sorry for the trouble! If you have time to post a 6.0 version, great, if not, I understand! Thanks! (and I hope I can repay the favor one day!!!)
0 Kudos
Message 5 of 8
(3,182 Views)
Sorry, like I said, im fairly new to this also and im out of ideas. Perhaps you should repost your question and stipulate the version of VI that you using.
0 Kudos
Message 6 of 8
(3,182 Views)
Hi clg6621,

I went ahead and converted the program David had posted to LabVIEW version 6.0. Hopefully this will work for you now without any problems.

Good luck!

Kileen Cheng
Applications Engineer
National Instruments
0 Kudos
Message 7 of 8
(3,182 Views)
Awesome. Thanks to both of yall!

DavidT: It looks like I'm alot newer to this than you are! It would have taken me a while to come up with what you have. Thanks, it's exactly what I need.
0 Kudos
Message 8 of 8
(3,182 Views)