Example Code

Convert NRZ encoded data back to binary

Code and Documents

Attachment

Download All

 

Overview
This example converts back data that has been encoded using NRZ encoding

 

 


Description

When binary data is encoded using NRZ encoding, each value of 1 generates a pulse while values of 0 do not. Typically each pulse will last for 20us for a transmission speed of 10 bits per second.

 

$18621A28A33BC37F.bmp


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  • Download the attachment to your computer
  • Open the VI "NRZ Decode 2012 NIVerified.vi"
  • Run the VI

 

Additional Information or References
VI Snippet

 VI Snippet.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

David B
Applications Engineer
National Instruments UK

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.