LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert digital waveform to number

Hi, Is there any way of converting an 8 bit serial data frame shown in a digital waveform graph into a number.

 

For example, the screen shot attached, with the right hand side being the MSB we have an eight bit serial data frame of 1010 1010.

 

I need to convert this into a number, which would be 170, but im not sure how?

 

Thanks

Rhys

0 Kudos
Message 1 of 2
(4,496 Views)

Hi,

 

you can use the following VIs for the conversion from digital waveform to number :

Digital Waveform to Boolean Array

Boolean Array to Number

 

I attached a simple example of an conversion.

 

Regards,

  Michael

 

__________________________________
Certified LabVIEW Associate Developer
Message 2 of 2
(4,483 Views)