Connexions

You are here: Home » Content » Formula Node

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
• NSF Partnership

This module is included inLens: NSF Partnership in Signal Processing
By: Sidney BurrusAs a part of collection: "LabVIEW Graphical Programming Course"

Click the "NSF Partnership" link to see all content affiliated with them.

Click the tag icon to display tags associated with this content.

• National Instruments

This module is included in aLens by: National InstrumentsAs a part of collection: "LabVIEW Graphical Programming Course"

"A full introductory course on programming with LabVIEW."

Click the "National Instruments" link to see all content affiliated with them.

Click the tag icon to display tags associated with this content.

Also in these lenses

• Lens for Engineering

This module is included inLens: Lens for Engineering
By: Sidney Burrus

Click the "Lens for Engineering" link to see all content selected in this lens.

• eScience, eResearch and Computational Problem Solving

This module is included inLens: eScience, eResearch and Computational Problem Solving
By: Jan E. OdegardAs a part of collection: "LabVIEW Graphical Programming Course"

Click the "eScience, eResearch and Computational Problem Solving" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Formula Node

Module by: National Instruments. E-mail the author

Summary: In this lesson, you will learn how to use the Formula Node.

Use the Formula Node to perform mathematical operations in the LabVIEW environment. For additional functionality, you can link to the mathematics application MATLAB®.

Formula Node

The Formula Node is a convenient text-based node you can use to perform mathematical operations on the block diagram. Formula Nodes are useful for equations that have many variables or are otherwise complicated and for using existing text-based code. You can copy and paste the existing text-based code into a Formula Node rather than recreating it graphically on the block diagram.

Create the input and output terminals of the Formula Node by right-clicking the border of the node and selecting Add Input or Add Output from the shortcut menu, then enter the variable for the input or output. Type the equation in the structure. Each equation statement must terminate with a semicolon (;).

Formula Nodes also can be used for decision making. The block diagram shown in Figure 1 shows two different ways of using an if-then statement in a Formula Node. The two structures produce the same result.

The Formula Node can perform many different operations. Refer to the LabVIEW Help for more information about functions, operations, and syntax for the Formula Node.

Note:

The Formula Express VI located on the Functions>>Arithmetic & Comparison palette uses a calculator interface to create mathematical formulas. You can use this Express VI to perform most math functions that a basic scientific calculator can compute. Refer to the LabVIEW Help for more information about the Formula Express VI.

Content actions

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks