Example Code

Math Calculator Event structures with subVI example:

Code and Documents

Attachment

Description: This Example demonstrates how to use event structures which are triggered off with the push of a button. The Event structures calls some simple but effective subVI’s to demonstrate how the event structure implements the execution of the code held within it. This is a very useful example for users who are new to the concept of LabVIEW and event structures.

This example is written for LabVIEW: 2010

Additional modules: No additional modules required just pure 100% LabVIEW

Instructions: Run the VI and turn the dials, works much like that of a calculator. When you press the mathematic function the resulting value is displayed.

Front Panel:

math front.png


Block Diagram:

Untitled.png

Regards

Andrew George @ NI UK

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

Contributors