Home > Community > Discussion Forums

LabVIEW Idea Exchange

Showing results for 
Search instead for 
Do you mean 
We've turned on a search before post feature in the LabVIEW Idea Exchange. This new feature will help cut down on the number of duplicate ideas in this space!

The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!

A universal conversion bullet.

Status: New
by Knight of NI Knight of NI on ‎06-02-2009 10:54 AM

My goal is to reduce palette bloat!


Let's look at the conversion palette. Certainly looks impressive, but why do we need so many different bullets??? They are basically all the same function:  A universal input and an output type.


I suggest that the 16 marked bullets on the image, plus some others (e.g. "to variant"), be combined into a single universal bullet where we can select the desired output type by a simple right-click. Whatever we select will determine the actual icon, so once things are in place, everything will look exactly as before.


When we first drop the universal icon on the diagram (or insert it into a wire), the context menu appears and we must select the desired output.

by Trusted Enthusiast
on ‎06-02-2009 11:16 AM

> the context menu appears and we must select the desired output.


And here I thought you weren't a fan of Express VIs... but that's essentially what you've just asked for. :-)

by Active Participant PJM_Labview
on ‎06-02-2009 11:54 AM
Or maybe he was talking about the mytical non existant XNo.. Smiley Tongue
by Knight of NI Knight of NI
on ‎06-02-2009 12:00 PM

> And here I thought you weren't a fan of Express VIs...


There's nothing wrong with express VIs Smiley Very Happy


Still, there is a big difference between a tiny captive context menu as suggested here and an express VI with an entrance accompanied by a 20 second HD churn drum roll, full windows decorations, and accept/cancel buttons, etc. Smiley Very Happy

by Knight of NI Knight of NI
on ‎06-03-2009 12:16 PM

Or even better would be a simple Polymorphic VI that could determine the output type automatically or you can select with a right click menu (and show the actual VI, not the poly VI).

by Knight of NI Knight of NI
on ‎06-03-2009 01:14 PM
I see a problem with determining the output type automatically. This can only work if we connect directly to an indicator with a "non-adaptive" representation setting. In most other cases, only the programmer knows what the output type should be. Smiley Wink
by Proven Zealot
on ‎06-04-2009 03:12 AM
I like the idea with the polymorphic vi, but without the automatically type selction from the output, and it's already possible.
by Member GregR
on ‎03-05-2010 01:33 PM

I must have missed this at the time, but in case anyone is still paying attention. There is an arbitrary coercion bullet starting in 8.20. It has never been exposed in the palette though.


Instead of being configured you wire the desired type to a middle terminal. This is a lot like typecast, but much safer. Instead of trying to reinterpret the bytes of the data, it does the same kind of conversion that a coercion dot would do.


coerce to type.png

Here is a code snippet containing the node. (You may be able to drag from the browser to a 2009 diagram.  If that doesn't work, try saving the image locally, then dragging the file.) I can't upload a VI here so if you want the node in an older version, you'll have to save a VI for previous from 2009.

by Trusted Enthusiast Trusted Enthusiast
on ‎01-04-2012 02:43 PM
Another good idea posted about a month before I joined. I agree with it all except I think the operate tool should pop up the choice as well. Easy XNode to implement.
by Active Participant Manzolli Active Participant
on ‎12-05-2012 01:59 PM

A question to GregR: Why still not exposed in the palette?

by Active Participant ghighuphu
on ‎06-24-2014 01:57 AM

A question to GregR and devs: Why is the "coerce to type" not in the Palette? (and no documentation of it in the Help either)


A question to GregR: Why do you think this is safer than Type Cast?


I miss Kudos for Idea comments.. Glad, I can give Kudos to images.. Smiley Happy

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Idea Statuses
Top Kudoed Authors
User Kudos Count