To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to use an event structure to implement a calculator in LabVIEW.
Description
The calculator VI is a fully-functional calculator built in LabVIEW. This example demonstrates the following concepts:
Each time the user presses a button it is registered as an "event." Each type of event corresponds to a different case in the event structure, which implements the intended function. The "stored number" and "display number" are tracked via shift registers in an event machine, and the VI stops running when the running front panel is closed.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
Front Panel While Running
Block Diagram
**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.
seminal work.
Awesome work. But it would be better if it was a bit more open-sourced.
Thanks for your work!