LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strings

Solved!
Go to solution

i was basically trying to convert a hexadecimal number to a decimal format

I made use of the inbuilt hexa to decimal converter but i would like to send more than 1 hexa data at a time...

Say something like i have many hexa values which have to be converted all at once but displayed in some sort of sequence(like in a table)

0 Kudos
Message 1 of 6
(2,893 Views)

Try formatting all your hex values into an array, then connect this array to the outside of a for loop.

This will index each of your values and you can use the same converter to change them all and output back to an array.

You can easily display the array in a table or a listbox or whatever then.

0 Kudos
Message 2 of 6
(2,888 Views)

i have tried to create an array...but that is just initialising it to a predefined value...

i want to be able to edit the values in the array

how do i do it?

0 Kudos
Message 3 of 6
(2,878 Views)
Solution
Accepted by topic author guest of ni
hex2dec.PNG
Message 4 of 6
(2,873 Views)
By setting the array to a control you can manually change all the values in it from the front panel
0 Kudos
Message 5 of 6
(2,867 Views)

thx muks,

 

i have been able to get the required array format

 

thanks once again

0 Kudos
Message 6 of 6
(2,841 Views)