LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ADD hexa decimal Numbers

Solved!
Go to solution
How to add hexa decimal numbers that are got in an array. An array size of 11. I need to add each element.
0 Kudos
Message 1 of 12
(4,455 Views)
Solution
Accepted by topic author rpr

Like this?

 

hexa.PNG

Message 2 of 12
(4,455 Views)
Or, more simply, by wiring the array into the Add Array Elements primitive from the Numeric palette.

___________________
Try to take over the world!
Message 3 of 12
(4,453 Views)

muks wrote:

Like this?

 

hexa.PNG




Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 12
(4,446 Views)

Coq Rouge,

 

I dont get it

0 Kudos
Message 5 of 12
(4,443 Views)
I dont get it either
0 Kudos
Message 6 of 12
(4,440 Views)

Oh sorry my posting only get half through. My network gave up for a moment

This much simpler. The other solution is just to muks work i think

Ps be aware of overflow then adding hex numbers

sample.PNG



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 7 of 12
(4,429 Views)

The output of the AAE primitive is the same type as the input, so you shouldn't have to worry about overflow.

Also, it should be noted that the solution posted by muks could be simplified by removing the Index Array primitive - you can just use the value from the indexing tunnel.

Message Edited by tst on 03.11.2009 11:32 AM

___________________
Try to take over the world!
Message 8 of 12
(4,410 Views)

it should be noted that the solution posted by muks could be simplified by removing the Index Array primitive - you can just use the value from the indexing tunnel.
Yes :smileyhappy:
0 Kudos
Message 9 of 12
(4,401 Views)
Then adding say several U16 numbers overflow may occur quicker than you expect. It was just an heads up.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 10 of 12
(4,398 Views)