From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to concatenate a six bytes into a single variable

Hi,

     how to concatenate six bytes into a single variable.

      For example:

                        a=(Parameters.output[1]<<24)+(Parameters.output[2]<<16)+(Parameters.output[3]<<8)+(Parameters.output[4])

      like this how can i concatenate the 6 bytes........

 

 

 

 

 

 

Thanks in Advance!!!1             

0 Kudos
Message 1 of 2
(2,880 Views)

Hi,

if you are using >= TS2010 there  is support of 64Bit integers (int64 and uint64).
with it you are able to store your 6 bytes.

 

I am using it for saving MAC-Address.

 

 

Regards

 

Juergen 

--Signature--
NIWeek 2017: Standardized HIL Test Automation With TestStand
NIWeek 2016: Capturing ATE Requirements With Requirements Gateway

Feedback or kudos are welcome
0 Kudos
Message 2 of 2
(2,876 Views)