Documente Academic
Documente Profesional
Documente Cultură
2. Define array.
Arrays group data elements of the same type. An array consists of elements and
dimensions. Elements are the data that make up the array. A dimension is the length, height, or
depth of an array.
The Array Size Function returns the number of elements in an array it is wired to.
Initialize Array crates an array of dimension size elements containing the element value.
8. Define build arrays?
Build Array
Array Subset
Array Subset returns a portion of an array starting at index and containing length elements.
10. Define Polymorphism?
LabVIEW arithmetic functions like Add, Multiply, Divide. Etc. are polymorphic. This means
that the data structures on their inputs can be either scalar or array. If any inputs are of the array
data structure, the output will be an array data structure. If the inputs have array structures of
different sizes, the output will be an array that is the same size as the smallest input array.
Both graphs often utilize Cluster data structures to control the incoming data display, so the
Bundle function is frequently used. For Waveform Graphs, the bundled components include the
initial X value, the delta X value (increment or spacing between X values), and the Y array data.
18. What is mean by single plot waveform graph?Below is an example of a single-plot waveform
graph displaying a 1D array of random numbers. This time the output is wired through a bundle
function with numeric constants setting the Initial X to 10 and the Delta X to 2. Notice that the
graph starts at 10 on the X axis and that the increment spacing is twice as wide (the X axis range
is between 10 and 210).
19. What is mean by multiple plot waveform graph?
You can create a multiple-plot waveform graph of two 1D arrays by combining the arrays with a
Build Array function which creates a 2D array. Below is an example. Notice that because the 2D
array is directly wired to the waveform graph, the Initial X is zero and Delta X is 1. Bundle
functions could be inserted between the loop output and the Build Array function to control the
graph display.
.
20. How to create Waveform graph/
To create a Waveform Graph, pop-up on the Front Panel > Controls > Graph > Waveform Graph
24. Define plot legend, scale legend, cursor legend and graph palette.
Plot Legend—defines the color and style of the plot(s). Resize the legend to display
multiple plots.
Scale Legend—Defines labels for scales and configures scale properties.
Graph Palette—Changes scaling and formatting while a VI is running.
Cursor Legend (graph only)—Displays a marker at a defined point coordinate. You can
display multiple cursors on a graph.
29. What are the three types of waveform chart display modes?
5. What are the different types of graph and explain with an example for each? .(P.NO. 52) T1
6. How to create local variable and explain with example? .(P.NO. 26) T1
7. How to create global variable and explain with example? .(P.NO. 26) T1
10. What is FILE I/O and describe it with example? .(P.NO. 65 - 67) T1
REFERENCE BOOKS
2. Gary Johnson, ‘Lab view graphical programming’, II Ed., McGraw Hill, 1999.
3. Lisa K Wells & Jeffrey Travels, ‘Lab view for everyone’, Prentice Hall, 2003