From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
This is a plug-in for LabVIEW's popup menus that I wrote it this morning. I took a slightly different route to implementing it -- I added only a single "Change to Constant" menu item and let the code do the work of figuring out the best type. It seemed better than flooding the menu with lots of different types. If you prefer your style, the code is entirely written in G. You are able to edit it and modify the menu items as you see fit.
Stephen Loftus-Mercer is going to have way too much fun on the idea exchange now...
"Make you own plugin!"
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
A few of us at NI have spent the last couple months since LV 2015 was finalized writing various plug-ins for many ideas on the exchange to have a rich offering as soon as 2015 became available.
I do however think this idea merits being built in. One suggestion- use a sub-menu for all the data type options to keep the clutter out of the top level.
Now available in LabVIEW 2023 Q3