Example Code

Caesar Cipher Example

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
The program encode and decode the string


Description
To use the program, type a string into the String box. With the toggle set to encode and the Magnitude of Shift control set to non-zero, run the program; this will result in an encrypted string. To decode a string, type or paste the encrypted string into the String box. With the toggle set to decode, run the program with the same Magnitude of Shift value that was used to encode the string; this will reveal the original string.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

1.Input the String

2.Configure the button 'Decode' or 'Encode'

3.Run the VI Additional Information or References

 

 

Additional Information or References

VI Block Diagram

 Block Diagram.png

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

 

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

Comments
iyeager2012
Member
Member
on

Your 2009 version is saved in 2012.