LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Uncluster to Take the Value

Hello,

 

Please find the attached vi.

 

I want to take the data byte 0xA1 seperately, to perform some operation.

 

How shall i seperate this data byte from the cluster of 8 bytes?

 

-mfp

0 Kudos
Message 1 of 6
(3,165 Views)

I am having only lv 8.0 here so not able to view your vi. Did you try "unbundle by name" found inside the cluster palatte?

Message 2 of 6
(3,163 Views)

Okay.

Thanks for the help.

 

-mfp.

0 Kudos
Message 3 of 6
(3,161 Views)

Hi Favas,

 

so you already used UnbundleByName to get the "Data" portion of the "input cluster", but then you fail to get the single byte from the "Data" cluster?

 

Oh, come on...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,149 Views)

Yea, Exactly.

After that, i need to combine two bytes to form a 16-bit hexadecimal data.

ex:- if byte 1 - 0x12 and byte 2 - 0x34 required output of 0x1234.

Result need to be in hex form itself (not decimal). i tried by using join numbers pallette, but result i am getting is in decimal form.

Please comment on this.

 

-mfp.

 

0 Kudos
Message 5 of 6
(3,138 Views)

 


@Favas wrote:

[...] result i am getting is in decimal form.

Please comment on this.


18183i529E1F16553EAD99Change the display of your indicator to hex.

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 6 of 6
(3,130 Views)