LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet
 
Reply to this topic Start new topic
> Selective array building at structure tunnels
Michael_Aivaliot...
post May 5 2008, 07:02 AM
Post #1


Confucius say, Man with tight trousers is pressing his luck.
Group Icon
*****

Admin
Posts: 2322
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


why does a 1D array always become a 2D on for loop borders? Why can't we concatenate a 1D array at the border. It seems that tunnel has the potential to do a lot more than it can right now in regards to array manipulation.
Reason for edit: Moved post to a new thread due to hijack, deleted irrelevant text that referred to old thread.

--------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post May 5 2008, 07:02 AM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
Bjarne Joergense...
post May 5 2008, 07:58 AM
Post #2


1 more post to go!


Member
Posts: 9
Joined: 12-January 07
From: Randers
Member No.: 7489
Using LabVIEW Since:1997
LV:6.1 ,8.20 ,.
Denmark Nothing Selected Nothing Selected


QUOTE (Michael_Aivaliotis @ May 5 2008, 09:02 AM) *
I like this idea. Along the same lines (or maybe this is hijacking), why does a 1D array always become a 2D on for loop borders? Why can't we concatenate a 1D array at the border. It seems that tunnel has the potential to do a lot more than it can right now in regards to array manipulation.



I can't se the picture of what you are talking about. What is wrong ?

regards
Bjarne


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
crelf
post May 5 2008, 01:46 PM
Post #3


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3643
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Michael_Aivaliotis @ May 5 2008, 03:02 AM) *
why does a 1D array always become a 2D on for loop borders? Why can't we concatenate a 1D array at the border. It seems that tunnel has the potential to do a lot more than it can right now in regards to array manipulation.

I also can't see a picture about what you're talking about, but I agree. If this is implimented, we need to consider making it obvious at the tunnel that this is happening (of course), and there's not much real estate on of those little nodes - it'll be quite a challenge for the NI design team smile.gif

--------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Jim Kring
post May 5 2008, 02:14 PM
Post #4


Changing the world, one VI at a time.
*****

Premium Member
Posts: 1665
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


This is what Michael's talking about:

Attached Image


Notes:
  • You can't just build a 2D array and reshape it to 1D (outside the loop), since each 1D array might be a different length.
  • This should also work for strings thumbup1.gif

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
orko
post May 6 2008, 09:16 PM
Post #5


Extremely Active
****

Premium Member
Posts: 515
Joined: 18-October 05
From: Seattle, WA
Member No.: 3266
Using LabVIEW Since:2005
LV:8.5 ,8.2.1 ,7.1.1
United States us_washington Nothing Selected My Blog


I love it!

A simple right-click:concatenate option on the exit tunnel (like the "build array" primative, which is basically the extra code you're trying to eliminate, right?) would be very nice here. I don't see why this would have to be limited to just 1D outputs though. I can see cases with 2D arrays inside a For loop where I would want to concatenate vs. build a 3D array as well.

--------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Yair
post May 7 2008, 07:28 PM
Post #6


Extwemely Active
*****

Premium Member
Posts: 1594
Joined: 23-January 05
From: Here
Member No.: 1431
Using LabVIEW Since:2003
LV:7.0 ,7.1 ,.
Israel Nothing Selected Nothing Selected


I wanted something like this for a long time as well.

QUOTE (Jim Kring @ May 5 2008, 05:14 PM) *
This should also work for strings thumbup1.gif


If you're refering to concatenating different strings into a single one, you can sort of do that - build them into an array and then concatenate the array:


--------------------
More than meets the eye...


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 9 YouMiss 5622 12th September 2007 - 06:18 PM
Last post by: TobyD
No New Posts   1 andy810915 2460 4th September 2003 - 04:30 AM
Last post by: Michael_Aivaliotis
No New Posts   0 BienEntendu 2408 25th December 2003 - 01:55 PM
Last post by: BienEntendu
No New Posts   4 aledain 1818 2nd April 2004 - 07:57 AM
Last post by: aledain


Reply to this topicStart new topic

 




Time is now: 10th October 2008 - 11:37 PM