LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Forming a two byte address

Solved!
Go to solution

The attached VI says what is required.  This is part of a address generation in which a two byte address is to be generated as shown in the example.... tried different by splitting and combining bytes. 

 

But unable to crack it. Any help is welcome !! ( I know the VI name looks odd but I just named it so for want of a better one 🙂 

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 3
(125 Views)
Solution
Accepted by topic author MogaRaghu

If the data is clean (e.g. you can guarantee that the first four bytes of the U16 are 0, here's all you need):

 

altenbach_0-1617899478024.png

 

 

(It would be easy to join the two results back into a U16, of course)


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 2 of 3
(121 Views)

That was the exact one  I required ! 

 

I was searching for something on line of the Logical Shift inside the Boolean Palette but missed the data manipulation inside Numeric. 

 

Thanks Champion ! 

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 3 of 3
(66 Views)