Example Code

Password Guess to Stop VI

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

Download All

Overview
To demonstrate how to verify an input of string and make a simple password login

Description:
This is a VI that will stop running until the correct password is inputted.
This makes it a useful subVI to have in some sort of alarm system or to simply add a code to make it more secure (On top of having the appropriate VI security properties configured).
It is currently configured to acquire inputs from hardware but could be changed to acquire from a numerical array on the front panel.

Steps to implement or execute code
To implement this example:

  1. Run the VI
  2. Input the password
  3. (Optional) Turn on the Highlight Execution to see the flow of the VI

To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

 

fp.JPGbd.JPG

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

Kind Regards

Michael
NIUK Application Engineer

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