LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to split a hexadecimal string into the required components

With my example I just used the default 32 bit number, you could use the same principle with a U64. Then it does start to get messy with the extra splits, in that case you would be better off with a loop and having your data in an array.

0 Kudos
Message 11 of 15
(1,189 Views)

There are ways to do it without a for loop for any size array. But the answer isn't as clean as using a for loop. (Not sure which performs faster)

 

 

original.png

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

Message 12 of 15
(1,174 Views)

Hi

Could you post the snippet as a vi for LV 2010 please?

 

thank you

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 13 of 15
(1,160 Views)

Hello Freelance_LV,

 

As required.

 

Regards,

Bijay

0 Kudos
Message 14 of 15
(1,150 Views)

Thank you for the code Bijay.

 

I tried to reproduce the code by seeing the snippet, but missed out on 'Regular Expression' menu selection on the search and replace function. so, it didn't work.

 

thanks again

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 15 of 15
(1,132 Views)