Check out our XNodes Code Repository Files and visit our LabVIEW Wiki XNodes Portal
Tags |
(This content has not been tagged yet)
|
![]() |
May 23 2007, 06:31 PM
Post
#1
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1168 Joined: 29-January 06 From: Helsinki Member No.: 4014 Using LabVIEW Since:2004 LV:8.5.1 ,8.2.1 ,7.1.1
My Blog
|
Hi all,
Do you want to learn the secrets of XNodes? What would be a better way than playing around yourself? I challenge everybody to code multi-dimensional array operations that accept any kind of array of any rank and datatype as input. I was thinking of following two operations but you can also surprise me with some nice ideas.
*Read, I'd do these by myself but I'm too busy so I try to leverage the power of LAVA* --------------------
|
||
|
|
|||
| Ad |
May 23 2007, 06:31 PM
Post
#
|
||
|
|
|
||
|
|
|||
May 23 2007, 06:41 PM
Post
#2
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2363 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
*Read, I'd do these by myself but I'm too busy so I try to leverage the power of LAVA* Thank you Tomi for supporting LAVA with this challenge.
--------------------
|
||
|
|
|||
May 23 2007, 07:00 PM
Post
#3
|
|||
|
Very Active NI ![]() Posts: 213 Joined: 14-March 06 From: Austin, TX Member No.: 4441 Using LabVIEW Since:1999 LV:8.6 ,8.5 ,8.0
|
Array size Xnode that always returns array size as 1d I32 array. Each element of the output array is a dimensionality of each dimension. If the input is a scalar that is not an array, an empty 1d I32 array is returned. The feature I've been wanting that would be well-suited for one of these mythical "XNodes" would be a growable Array Size function, that returns 'n' scalar "dimension size" outputs, where 'n' is the number of dimensions of the array. I would much prefer this to the current method of dropping an Array Size and an Index Array. -D
|
||
|
|
|||
May 23 2007, 09:16 PM
Post
#4
|
|||
![]() Very Active Premium Member ![]() Posts: 119 Joined: 21-January 06 From: Leeds, UK Member No.: 3951 Using LabVIEW Since:1994 LV:8.5.1 ,8.6 ,8.2.1
|
The feature I've been wanting that would be well-suited for one of these mythical "XNodes" would be a growable Array Size function, that returns 'n' scalar "dimension size" outputs, where 'n' is the number of dimensions of the array. I would much prefer this to the current method of dropping an Array Size and an Index Array. -D The feature that I have already implemented as an XNode returns takes an n-dimension array and a scalar x and returns the (x+1)'th dimension of the array or -1 if x<0 or x>n-1. Fairly elementary stuff, but I got tired of wiring array-dimension and then index array together. It hadn't occurred to me to make it growable - but then so far I've kept my XNodes nice and simple and just made non-resizable ones :-). -------------------- Gavin Burnell
Lecturer and EPSRC Advanced Research Fellow School Physics and Astronomy University of Leeds, UK.
|
||
|
|
|||
May 24 2007, 06:07 AM
Post
#5
|
|||
![]() CCT It Premium Member ![]() Posts: 1331 Joined: 13-June 05 From: Woerden, Netherlands Member No.: 2399 Using LabVIEW Since:2001 LV:8.5.1 ,6.1 ,8.2.1
My Blog
My Gallery
|
Yesterday I discussed with a colleague of mine the need of an array XControl.
Currently editing an array is very cumbersome, for instance a cluster with several elements in an array is not editable with just the keyboard... But AFAIK has the XControl no polymorphic abilities Ton --------------------
|
||
|
|
|||
Jul 13 2007, 10:49 PM
Post
#6
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2363 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
--------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 05:45 AM |