ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reverse string order

Solved!
Go to solution

Hi all,

 

i want to first reverse the order of the string first  e.g. the string is FDE7 9200  i want to change it to 0092 E7FD . further more i want to change this hex value string into decimal string.. ... i implemented them in my vi ...although the first part is working fine but i cant get the value to conver into a equivalent decimal number ...Vi is attached ..plz have a look 

with regards 

ali asad

Regards
0 Kudos
Message 1 of 20
(6,196 Views)
hex.PNG
0 Kudos
Message 2 of 20
(6,188 Views)
In your input string, in the front panel, right click and change the type to Normal Display and then enter the input string. This will solve your problem.
0 Kudos
Message 3 of 20
(6,186 Views)

Mathan wrote:
In your input string, in the front panel, right click and change the type to Normal Display and then enter the input string. This will solve your problem.

I think the op will get hex values and needs to convert them and not display them. I think...

0 Kudos
Message 4 of 20
(6,183 Views)
hex.PNG
0 Kudos
Message 5 of 20
(6,181 Views)
Muks can you show the results in the front panel.
0 Kudos
Message 6 of 20
(6,177 Views)
res.PNG
0 Kudos
Message 7 of 20
(6,168 Views)

mathan,

anything u feel is wrong in it?

0 Kudos
Message 8 of 20
(6,166 Views)
MUKS, in your front panel, the reversed string shows 00297EDF where the whole string is reversed, but the OP wants this one 0092E7FD
0 Kudos
Message 9 of 20
(6,156 Views)

Mathan wrote:
MUKS, in your front panel, the reversed string shows 00297EDF where the whole string is reversed, but the OP wants this one 0092E7FD

I need to pay more attention i guess. Thanks for that correction

0 Kudos
Message 10 of 20
(6,153 Views)