Archived:Is There an Equivalent VI to Get Numeric Information VI in LabVIEW 2012?

Updated Jul 31, 2023

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • LabVIEW 2012
  • LabVIEW

Issue Details

I want to port a LabVIEW project from LabVIEW 2018 to 2012 which uses the Get Numeric Information VI . Is there an equivalent VI in this version that I can use to substitute it in the code?

Solution

If you are looking to use the Get Numeric Information VI in LabVIEW 2012 which basically retrieves numeric information from the data type stored in Variant you have to use the GetNumericInfo.vi located at [LabVIEW 2012]\vi.lib\Utility\VariantDataType\GetNumericInfo.vi (VariantType.lvlib:GetNumericInfo.vi).

Please take into account the considerations when downgrading code mentioned in the following article: Revert LabVIEW Files to a Previous Version

Additional Information

Normally, for porting a VI to a previous version of LabVIEW it is recommended to use the Saving for a Previous Version  option in LabVIEW. In this case, the Get Numeric Information VI was introduced in LabVIEW 2015 (LabVIEW 2015 release notes), nevertheless the previously mentioned VI performs the same function.

Note: When downgrading code take into account that it is not always possible to get a VI that performs the same function, especially when we are talking about new functionality.