11-07-2008 07:39 AM
I need some help with a few questions on the CLAD..
1) Why make a task in Daqmx? Is it to group things that have similar timing or similar scales?
2) If you disable auto indexing in a for loop will it still yield a 1D array?
3) Can you tell me a few different ways to create a 2D array?
4) What do you use to change the color of a line or cursor on a chart?
11-07-2008 08:40 AM
11-07-2008 10:40 AM
Which of the following will allow you to have multiple plots on a waveform graph?
1) Bundle two 1D arrays of X and Y data together for each plot. Then build an array of these clusters and wire it to the waveform graph indicator.
2) Build an n-dimensional array of data with each plot in a separate row or column in the array, then wire he array to the waveform graph indicator.
3) Bundle the elements of each waveform into a cluster and build an array of these clusters, then wire the array to waveform graph indicator.
4) Both 2 and 3.
5) Both 1 and 3.
Which of the following functions should be used to replace an element of an existing cluster when the order of elements in the cluster us unknown?
1) unbundle by name
2) unbundle
3) bundle
4) bundle by name
Thanks!
11-07-2008 12:57 PM
Also, for the Match Pattern function..what effect does case sensitivity have on its function?
Is it more efficient to place the convert data type function inside or outside the for loop?
11-07-2008 01:05 PM
Your questions can be easily answered by simply opening the LabVIEW Help. Also learn how to use the Context Help Window, as it is quite useful. It will answer your question about the graph. Place a waveform graph on a VI front panel. Switch to the block diagram. Open the Context Help Window and move the cursor over to the graph terminal. Voila. Answer is in the Context Help Window.
I would suggest you try to find the answer yourself first so you know how to find the answer. If you don't understand why the answer is such and such then you can post a query and it can be explained to you.
11-07-2008 01:16 PM
11-07-2008 01:34 PM - edited 11-07-2008 01:35 PM
Waveform graph:
From the LabVIEW Help:
Bundle By Name
Replaces one or more cluster elements. This function refers to cluster elements by name instead of by their position in the cluster.
Also from the LabVIEW Help for Match Pattern you will see numerous examples. As indicated from the examples, the function is case sensitive. You can also determine this by simply trying it out. Did you try?
Also from the LabVIEW Help under the topic Fundamentals -> Managing Performance and Memory -> Concepts -> VI Memory Usage, the section "How to Generate Data of the Right Type" will answer your question about the data conversion.
11-10-2008 11:10 AM