From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show 8 bit binary data on graph

Hello..

 

I have an 8bit binary numeric control and I want it to be shown on graph so that it would look like a digital bit pattern just like image below.

 

bits.jpg

Please Help..

0 Kudos
Message 1 of 5
(3,047 Views)

First, convert binary data to boolean data.

Next, you can use Waveform Graph.

 

Community: Convert Boolean to Digital Waveform in LabVIEW 

https://decibel.ni.com/content/docs/DOC-6070

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 5
(3,038 Views)

Thanks for the rplay..

 

But here you are using a  two dimension boolean array.

I want to use the sequence further for the modulation purpose and need the sequence in numeric  form. (i.e. 0101 etc)

I have a numeric (binary representation) control (not array) and want it to be shown on waveform graph. (not digital waveform which uses boolean).

Can you solve this?

 

0 Kudos
Message 3 of 5
(3,024 Views)

Thanks for the rplay..

 

But  here you are using a two dimension boolean array.

I want to use the sequence further for the modulation purpose and need the sequence in numeric  form. (i.e. 0101 etc)

I have a numeric (binary representation) control (not array) and want it to be shown on waveform graph. (not digital waveform which uses boolean).

Can you solve this?

0 Kudos
Message 4 of 5
(3,021 Views)

Try something like the attached draft (LabVIEW 8.2).

 

  1. convert number to boolean array
  2. convert boolean array to (0,1) array
  3. graph (0,1) array.

 

 

Download All
Message 5 of 5
(2,994 Views)