12-18-2009 06:06 PM
Hello Stephen,
1. When should Tasks be used in a DAQmx application?
Technically you always have to use a task for DAQ programming. I think you are asking about when you should define them in MAX verse dynamically allocating them (using the DAQmx VIs on the block diagram). The channel order that you sample will be entirely dependent on the order you add them to the task (statically or dynamically). You can only apply on DAQmx Scale per task, but again you can do this in LabVIEW as well.
A nifty trick you can use is to define a task in MAX and then place a task constant on your block diagram. You can then right click this constant and select Generate»Configuration and Example. This will generate LabVIEW code so you can see the order of VIs that would be used to configure a task. Every case you laid out can be done in both MAX and LabVIEW. LabVIEW just gives you the ability to pass different parameters based on other factors which will allow you to build a piece of code that will be truly scalable and adaptive. So I think the answer should be None of the Above.
2. DAQmx channels and virtual channels are a collection of property settings that include all of the following, EXCEPT.
A) Scaling information
B) Type of measurement
C) Physical Channel
D) baseI/O address
3. Where is the best place to adjust the gain for a DAQ channel?
A. the Set Gain VI, located in the DAQmx palette
B. Measurement and Automation Explorer (MAX)
C. the Input Specifications when setting up the DAQ Assistant
D. the Gain input terminal of the DAQ Assistant
4. Under which of the following settings would you not apply a gain to your signal?
A) 10 V signal with 0-5V ADC range <--- a gain of 1/2 (or attenuation of 2)
B) 10 V signal with 0-10V ADC rang <--------None needed
C) 5 V signal with 0-10V ADC range <------- A gain of 2 toget the most out of your DAQ resolution
D) 1 V signal with 0-10V ADC range <-------- A gain of 10.
On a side note, these questions seem a little dated. Make sure you're using a link to the latest material.
12-22-2009 06:40 PM
He guys I just wanted to say thanks for your help. I passed the CLAD exam today!!!
Merry Christmas Everyone!
Thanks again
Stephen
12-22-2009 10:35 PM
stephen.w.smith wrote:He guys I just wanted to say thanks for your help. I passed the CLAD exam today!!!
Merry Christmas Everyone!
Thanks again
Stephen
Hey congrats and that should have been a nice x-mas gift.
12-23-2009 09:30 AM
12-23-2009 12:33 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-04-2010 02:45 PM
You got it!!!!
01-04-2010 03:33 PM - edited 01-04-2010 03:36 PM
And a gift--
add the following to your signature
"<html><body><br><img border="1" src="http://sine.ni.com/images/products/us/040910_lv_cert_dev_t.jpg" width="110" height="80" ><br><br></body><br></html>"
you've earned it!
11-15-2011 07:30 AM
Hi all
I am an engineering graduate and I am gonna take the cLAD exam by the end of this month. Can someone suggest me a book ?
11-15-2011 10:22 AM
LabVIEW for Everyone!
Alan
11-15-2011 10:31 AM
Thank you. I ll check it out. 🙂