Example Code

Plain Text Frequency Analysis in LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI allows you to perform frequency analysis on a block of plain text.

 

Description

This will give you the letter distributions of a certain block of text that you input into the string control.  This allows you to perform analysis on encrypted messages to see if there are any data leaks.

This example displays a Caesar Cipher implementation in LabVIEW: https://decibel.ni.com/content/docs/DOC-39294


Requirements

LabVIEW 2013 (or compatible).


Steps to Implement or Execute Code
1. Input the String.
2. Run the VI.

 

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

Joel I.
Applications Engineer
National Instruments

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