Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RRGGBB to RGB

Hallo,

 

How can I change the pixeldepth of the Color Box from U32 (4 bytes) to U16 (2 bytes) in RGB format:

R4R3R2R1R0G5G4G3G2G1G0B4B3B2B1B0

where

MSB: R4R3R2R1R0G5G4G3

LSB:  G2G1G0B4B3B2B1B0

for example i will get the representatoin in hexa as FFFFhex instead of FFFFFFFFhex for the white color.

many thanks if you can help

regards

Mahon

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

did you check the function "split number" in the data manipulation palette?

greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,827 Views)