10-22-2018 01:33 AM
Hi
Please find the enclosed snippet.
Here i'm checking the range of Hex string. The result of the attached snipped suppose to be false. But it is giving the true value.
Kindly explain.
Regards,
S Nagaraju
Solved! Go to Solution.
10-22-2018 01:44 AM - edited 10-22-2018 01:56 AM
Hi Sonti,
when using strings LabVIEW "tends" to alphabetically ("by dictionary order", my English isn't that good) use them for comparisons.
Your input value is between the range limits!
When you want to compare values you need to use numeric datatypes: convert your strings to numbers…
10-22-2018 01:52 AM
Based on what condition its should be false?
Check for the Hex String to Numeric and Find the values of Input Strings.
10-22-2018 03:41 AM
Hi PalanivelT,
If I convert the hex string to number, BFFFFFFF ==> 3221225471 (Upper limit)
81000000 ==> 2164260864 (lower limit)
810001 ==> 8454145 (Value)
For numeric data type the result will be false. But in case of hex string, how the range check is happening??
I have checked with the range between hex values 0 to F and i found the reliable result. What is the issue with this case??
Kindly explain.
Regards,
S Nagaraju
10-22-2018 03:53 AM - edited 10-22-2018 03:54 AM