Which of the following are valid inputs to Hexadecimal String to Number?
NOTE: More than one answer may apply.
CAUTION: Some of the snippets may have (or may not have) been modified through the power of GIMP or by more sneaky methods.
I admit I did not know the cluster was valid.
A, B, C, and D
Per the Help documentation:
“string can be a string, a cluster of strings, an array of strings, or an array of clusters of strings.”
I would have said A,B. Didn't know about the possibility to use clusters as inputs
I too did not know that cluster was valid.
All options (A,B,C,D), are valid inputs to Hexadecimal String to Number, however on account of invalid characters in the string, the output result always will be 0 as shown in the following example that I did to demonstrate the function characteristics.
Hexadecimal String To Number SampleHexadecimal String To Number Result
As "g" is an invalid Hex character, Hexadecimal String To Number function stops the conversion there. Like in our string (SteveLikesLabVIEW)...
See you soon
A, B, C, D
However, I admit that I only suspected that C and D were valid, and I did not know this for sure.
Very good question.
A,B,C,D all are correct......As per my knowledge hexa decimal string to num takes any kinda string as a input.......
All. Nice one.
Answer: A, B, C & D. Nice one all.
From the LabVIEW Help. string can be a string, a cluster of strings, an array of strings, or an array of clusters of strings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.