Example Code

Oriental Oracle - LabVIEW 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

Simulates a wisdom oracle.

 

Description

This code consists on simulating a wisdom oracle which will display information randomly. In order to do this, we must search within an already filled array random indexes. This will display the different messages every time.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code 
1. Run the VI
2. Read the Message
3. If it is desired to customize the messages, scroll down until the "Array of Wisdom" control appears and modify as desired

 

Additional Information or References

Capture.PNG

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