LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Beginner

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?

0 Kudos
Message 1 of 8
(3,573 Views)

"BME genuis" <x@no.email> wrote in message
news:1226065207027-805465@exchange.ni.com...
> I need some help with a few questions on the CLAD..&nbsp;1) Why make a
task in Daqmx?&nbsp; Is it to group things that have similar timing or
similar scales

Yes.

>2) If you disable auto indexing in a for loop will it still yield a 1D
array?

No. Why don't you try this?

>3) Can you tell me a few different ways to create a 2D array?

Initialize Array.
Nested (for) loops.
Spreadsheet string to array.
Build Array.
Reshape Array.
Several DAQ/IO VI's.

>4)What do you use to change the color of a line or cursor on a chart?

The plot/cursor legend or property nodes.

This is all very basic stuff. I whish you all the luck. (I'm doing the CLAD
next week).

Regards,

Wiebe.


0 Kudos
Message 2 of 8
(3,552 Views)

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!

0 Kudos
Message 3 of 8
(3,519 Views)

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?

0 Kudos
Message 4 of 8
(3,506 Views)

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.

0 Kudos
Message 5 of 8
(3,496 Views)
I did that and these are the answers I do not know.  Please help me.
0 Kudos
Message 6 of 8
(3,490 Views)

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.

Message Edited by smercurio_fc on 11-07-2008 01:35 PM
0 Kudos
Message 7 of 8
(3,483 Views)

> This is all very basic stuff. I whish you all the luck. (I'm doing the
CLAD
> next week).

Never mind this. I'm doing CLA... I always mix them up. The questions did
seem a bit too easy for CLA.



0 Kudos
Message 8 of 8
(3,435 Views)