11-28-2017 07:54 AM
...
Or the 'Type def to strings' from the Variant function panel, no property nodes needed. 🙂
/Y
Yes, in modern version of LabVIEW.
Ben
11-28-2017 08:08 AM
> Or the 'Type def to strings' from the Variant function panel, no property nodes needed.
In LV 2015 I do not see that. Search does not find it. Is it newer than 2015?
11-30-2017 08:41 AM
@Yamaedo and @Ben, you refer to "'Type def to strings' from the Variant function panel". I'm interested. What LabVIEW version first had that?
12-04-2017 03:10 PM
> you refer to "'Type def to strings' from the Variant function panel".
> What LabVIEW version first had that?
Actually, that 2015 VI is named Get Numeric Information.vi; see http://zone.ni.com/reference/en-XX/help/371361M-01/glang/get_numeric_information/. It outputs an array of strings of the text names of the enum elements even from a constant. I found it via http://www.ni.com/en-us/shop/labview/release-details.html, in http://www.ni.com/pdf/manuals/371780l.pdf "LabVIEW 2015 Upgrade Notes", Data Type Parsing Vis:
"The Variant palette includes the new Data Type Parsing subpalette, which includes the following VIs:
...
Use the Data Type Parsing VIs to retrieve the data type of a variant and information about the data type.
You also can check whether the data type of a variant matches a specific data type."
12-04-2017 05:03 PM
Yeah that's right, Get Numeric Information! Before 2014 it was a 'hidden gem', those variant functions wasn't on the palette but you could use them from labview/vi.lib/utility/Variant something.
/Y