LabVIEW Flashcards
Express VIs
interactive VIs with configurable dialog page
Standard VIs
modularized VIs customized by wiring
Functions
fundamental operator elements of LabVIEW
Editing Techniques
selecting, moving, deleting, resizing, labeling, coloring
Debugging Techniques
finding errors, highlight execution, breakpoints, probes
Finding errors
click broken run button
Execution highlighting
click on execution highlighting button; data flow is animated using bubbles
Probe
right clock on wire to display pride and it shows data as it flows through wire segement
Icon/Connector
representation of SubVI
Icon
represents a VI in other block diagrams
Connector
shows available terminals
Hierarchy window
displays structure of all VIs
Context help window
displays node information
Structures
for loop, while loop, case structure, sequence, formula node
For loop
executes code inside borders with a specific number of iterations
While loop
executes code inside borders until a true/false condition is met
Ways to time a loop
loop time delay or timed loops
Loop time delay
configure time delay express VI for seconds to wait for each iteration of the loop
Timed loops
configure special timed while loop
Shifted registers
transfer values from one iteration to the next
Case structure
method of executing conditional text
Formula node
allows programming of one of more algebraic formulas
Sequence structure
executes sub-diagrams sequentially
LabVIEW arrays
collection of elements
Auto-Indexing
loops can accumulate arrays
- for loops auto-index by default
- while loops output only final value
Array functions
array size, initialize array, build array, array subset, index array, replace array subset
Array size function
returns the number of elements in the input array; each output element describing a dimension size
Build array function
Assembles multiple arrays or adds scalar elements to an array; concentrates multiple arrays; appends elements to an n-dimensional array
Initialize array function
creates an n-dimensional array with elements containing a specified value; all elements are the same value
Array subset function
returns a portion of an array; starts an index; contains “length” elements
Index array function
gives access to an elements or sub-array in an array
Replace array subset function
replaces an element or sub-array in an array at the point you specify in the index
LabVIEW clusters
collection of elements; different data types; fixed size; al controls or all indicators
Polymorphism
arithmetic functions accept inputs of different dimensions; outputs will be size of smaller array
Cluster function
bundle or unbundle
Graph
displays pre-generated arrays of data
Chart
displays data by appending new data as it becomes available
Single-plot
wire scalar ouput to waveform terminal
Sweep chart
a moving vertical line marks the beginning of new data
Scope chart
plot is erased when data points reach right border
Strip chart
plot moves to the left as new data is added to the right
X-Y Graph
plots data available at irregular intervals or plots two variables against each other
Customizing charts and graphs
auto-scaling; x and y axes; plot legend; graph palette