How can I convert an decimal array to decimal number ????
eg: I have an array (element 1: 1, element2: 2, element3: 3..... ) now, I want to convert this array to a decimal number (like 123...)
hope I am clear.
It's just a rough idea, but see the attached VI. Let me know if it's too confusing.
Dear all, thank you very much for your response. I wanted to avoid using the for loop.
I tried parallelly and I think we can also use the Array to Spreadsheet String vi and then convert the derived string to whatever number we choose... let me know your comments...
If you used the Array to Spreadsheet String what did you use as the delimiter? You can't use an empty string because if you do then the function ends up using the default of tab. This gives you a string with tabs between numbers. If you use any other character then you end up with numbers that have a character in between the numbers. Thus, you cannot directly convert this to a number using the Decimal String to Number function. It seems to me that the solutions provided are more appropriate.
You also said "convert the derived string to whatever number we choose". What does this mean? Your original post did not give any indication that what you want the final number to be was "selectable". What would be "selectable" about it?
"You can't use an empty string because if you do then the function ends up using the default of tab"
You are right. It did not help me because of the tabs.
"convert the derived string to whatever number we choose"
Means that the string I have derived can be converted to decimal number or hexadecimal number depending upon which VI I have choosen (eg: hexadecimal string to number).
I am not sure which "Selectable" number are you talking about. But anyways, I am sorry if I have conveyed my req'ment wrongly.