Workshop 2b: Intermediate LabVIEW

WORKSHOPS TUTORIALS RESOURCES


Goal of this workshop:
To learn how to use arrays, loops, and structures in LabVIEW.


1-D Arrays in LabVIEW

2-D Arrays in LabVIEW

Array Calculations in LabVIEW

Loops in LabVIEW
Loop structures are used to repeat certain actions. In LabVIEW, the actions to repeat are placed inside the loop structure, which appear as a frame. You can re-size the frame to fit around all the actions you want in it.

Array Functions in LabVIEW
There are many sub-vi’s that are specific to array operations. Included are statistical functions such as maximum and minimum values, average, and standard deviation, and array tools to re-shape and pick out elements from arrays. See LabVIEW Reference Sheet for more information.

Structures: Sequence and Case
Sequence structures allow you to execute certain commands in a specific order. This is important in LabVIEW because items placed on one window are executed in random order unless they are organized in a sequence structure.

Case structures execute different commands based on the value that goes into the condition. Case structures in LabVIEW accept both integers and booleans as the condition; if a boolean is used, then the structure is similar to If-statements in other programming languages.


Workshop 2 | Introduction | LabVIEW Reference | Image Processing
Please send all corrections/questions/comments to Haruna Tada at htada@tufts.edu