To download NI software, including the products shown below, visit ni.com/downloads.
1. Overview:
This example checks if the string is just a number
2. Description:
This example will get an string and perform several analysis over to determine if it is a number or if it contains any character. If it is a number, the LED in the front panel will be set to true.
3. Requirements
4. Steps to Implement or Execute Code
5. Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
add a plus sign or a minus sign: (^[+-]+[\d]+\.?[\d]*$)|(^[\d]+\.?[\d]*$)|(^\.[\d]+$) |