Jump to content

[CR] Select N inputs (xnode)


Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=257

Name: Select N inputs (xnode)

Submitter: o u a d j i

Submitted: 22 Nov 2014

Category: *Uncertified*

LabVIEW Version: 2012

License Type: BSD (Most common)

a "Select" ... but with N inputs

2 menus :

1)

a - select mode : after&before , only after, only before

b - select output : top , center

2)

a - add input (after)

b - remove input

ouadji,

(for a quick test ... unzip ---> QUICK_TEST.vi)

Click here to download this file

  • Like 1
Link to comment

This is nice but I have a few questions.  So I noticed there isn't any documentation when the Context help is open.  In the past I've used the GetHelp Ability and read the VI description from a template.

 

I would prefer that if a selection was chosen that was not in the range of items, that it would use the default data type for that data.  So an empty string, or an empty array.  This is more standard with the way NI does things too, like when indexing an array with a -1.

 

I'd also like a more recognizable icon, but at the moment I don't know what I would want it to look like.  Maybe it could resemble the Select primitive some how with a question mark, and lines that merge to the output terminal.

 

Should all inputs be required?

 

The Select input terminal is a U32, which is then converted to a I32.  Could this input just be an I32?  I realize this means you would allow negative numbers but again I'd prefer this, and to have the output be default if this is the case.

 

Also what is the Select Mode options supposed to do?

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.