Example Code

Frequency Ordering of Characters

Code and Documents

Attachment

Overview
This VI is used to return the most or least characters in an array.

 


Description
Return (in order of most to least frequency) characters, numerics and symbols in an array. This could then be used to build up a binary table for data compression that is specific to the data that you're sending.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the attachment to your computer
  2. Open the VI "Highest Frequency Characters 2012 NIVerified.vi"
  3. Set the file path
  4. Run the VI

 

Additional Information or References
VI Block Diagram of "Highest Frequency Characters 2012 NIVerified.vi"

VI Snippet.png 

 

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

 

Applications Engineer

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