<< Chapter < Page Chapter >> Page >
This is a seemingly trivial sub-VI that converts a parallel stream of bits to a parallel group of bit-words. While it could easily be done without a sub-VI, it's always important to practice modularity and simplicity for readability in the overall design. This makes the debugging and modification process, an inevitability, much simpler in the future.

Input/outputs and help

Bits-to-Words Inputs/Outputs and Help in LabVIEW
This is the LabVIEW help and block description for the Bits-to-Words sub- VI.

The sub-VI for the rather trivial operation of converting a string of bits to bit-words is shown above in Figure 1. Only basic knowledge ofLabVIEW is required to implement this module. While some may argue it's trivial and non-deserving of its own sub-VI, modularity and readability still prevail in gooddesign technique, and this transmitter is no exception.

Block diagram layout

Bits-to-Words Layout Block Diagram in   LabVIEW
This is the LabVIEW block diagram for the Bits-to-Words sub-VI.

Figure 2 above shows the block diagram layout. The parallel bits are taken as an input and fed into the built-in LabVIEW function"Reshape Array," which groups the number of bits appropriately.

For the logisitics in actually constructing this function, see the video below. For any additional questions, the example usage video in Figure 4, or email the author.

Instructional video

This is the instructional video for constructing the Bits-to-Words sub-VI.

Example video

This is the example video for using the Bits-to-Words sub-VI.

Download This LabVIEW sub-VI

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fully configurable ofdm sdr transceiver in labview. OpenStax CNX. May 04, 2010 Download for free at http://cnx.org/content/col11182/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fully configurable ofdm sdr transceiver in labview' conversation and receive update notifications?

Ask