ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial read, Unpack and plot

Solved!
Go to solution

First of all I am totally new in LABVIEW and sorry if this is repetitive question but honestly I could not figure it out. I am reading data from 3, 12bit ADCs and streaming the data constantly to computer by USB (UART) . Each package of data stream is like the photo below.

It has 6 bytes of data  from 3 ADCS which the 8 bits LSB of each ADC is in one byte and the rest 4 bits MSB is in another byte. Also there are 2 bytes with "z" and "y" character at the end of the package of data to realize the start and end of each package. l do not know how to unpack the data with LABVIEW. I really appreciate any Help.

 lab.png

0 Kudos
Message 1 of 3
(3,394 Views)
Solution
Accepted by Hassan_e

See if this gets you started.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(3,356 Views)

Many many thanks it works

0 Kudos
Message 3 of 3
(3,344 Views)