09-16-2014 03:18 AM
Bonjour,
Je suis débutant dans Labview.
Comment est-ce que pourrais-je additionner à une valeur fixe(hexa) 2 valeur hexadecimal par 2 bytes?
exemple: je dois additioner F424 à 277 donc F4 + 24 + 277.
277 est une constante string.
Merci.
09-16-2014 04:25 AM - edited 09-16-2014 04:26 AM
Welcome Aleksandar,
could you please rephrase your question in English as this is the English forum?
There is a sub-forum just for French (speaking) people…
09-16-2014 04:39 AM
Sorry,
I need to add a hexadecimal string. How can i add 3 different hexadecimal string?
Exemple: i want to do 277+F4+24 and i need a answer in string.
Thanks
09-16-2014 04:55 AM
09-16-2014 06:21 AM
Use "Hexidecimal string to number" for each of the numbers you need to add.
Add them together.
Use "Number to Hexidecimal string" to get answer back into string.
09-16-2014 07:00 AM
@AleksandarG wrote:
Sorry,
I need to add a hexadecimal string. How can i add 3 different hexadecimal string?
Exemple: i want to do 277+F4+24 and i need a answer in string.
Thanks
What exactly do you mean by Add? What would you expect as the result from your example?
09-17-2014 04:55 AM
Hi Aleksandar,
the solution from deceased should work fine.
I made you a little example VI with the functions deceased described.
Regards,
Stefan
09-18-2014 01:06 AM
Thank you, you really helped me.
Regards
09-18-2014 01:57 AM - edited 09-18-2014 01:58 AM