WGMres Posted February 8, 2009 Report Share Posted February 8, 2009 When should Tasks be used in a DAQmx application? In the case of sampling channels with similar timing and triggering? Thanks. Quote Link to comment
jgcode Posted February 9, 2009 Report Share Posted February 9, 2009 QUOTE (WGMres @ Feb 8 2009, 05:09 AM) When should Tasks be used in a DAQmx application? In the case of sampling channels with similar timing and triggering?Thanks. I am thinking the correct answer here would be tasks are used every time. Resource allocation and scheduling is done in DAQmx using the task state model. http://zone.ni.com/devzone/cda/tut/p/id/4656#toc2' target="_blank">KB Quote Link to comment
LAVA 1.0 Content Posted February 9, 2009 Report Share Posted February 9, 2009 A task will make sure that the channels will be read using the same clock. I came to the conclusion that MAX is a great tool to manage DAQ configurations, it took me a while to get hooked but I love it. Using global channels with scales and stuff, very easy to change a sensor, the only thing you need to do is adjust the scale! Ton Quote Link to comment
crelf Posted February 9, 2009 Report Share Posted February 9, 2009 QUOTE (Ton @ Feb 8 2009, 07:40 AM) I came to the conclusion that MAX is a great tool to manage DAQ configurations, it took me a while to get hooked but I love it. Then you're going to love it even more when you find out that you can (and arguable should) do all those good things in the project: http://lavag.org/old_files/monthly_02_2009/post-181-1234120619.png' target="_blank"> Quote Link to comment
LAVA 1.0 Content Posted February 9, 2009 Report Share Posted February 9, 2009 QUOTE (crelf @ Feb 8 2009, 08:17 PM) Then you're going to love it even more when you find out that you can (and arguable should) do all those good things in the project: And the best thing of that feature is that you can add this 'Project task' to an installer! Ton Quote Link to comment
crelf Posted February 9, 2009 Report Share Posted February 9, 2009 QUOTE (Ton @ Feb 8 2009, 03:00 PM) And the best thing of that feature is that you can add this 'Project task' to an installer! :thumbup: You sure can! Quote Link to comment
pallen Posted February 10, 2009 Report Share Posted February 10, 2009 QUOTE (crelf @ Feb 8 2009, 03:17 PM) Then you're going to love it even more when you find out that you can (and arguable should) do all those good things in the project: Interesting. I'm curious what the advantages are in adding tasks this way as opposed to using MAX. Quote Link to comment
crelf Posted February 10, 2009 Report Share Posted February 10, 2009 QUOTE (pallen @ Feb 9 2009, 10:43 AM) Interesting. I'm curious what the advantages are in adding tasks this way as opposed to using MAX. I tried to come up with an intelligent list of the benefits of doing it this way, but it all came down to, well, your DAQmx settings are saved at the project level instead of the system level. The channel and task settings that would normally be in your system mce file are instead in your lvproj file - a much better idea IMHO. Quote Link to comment
Shaun Hayward Posted February 10, 2009 Report Share Posted February 10, 2009 Are there advantages with this method (creating tasks in the project) over creating tasks at runtime using the DAQmx VIs? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.