LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Organizing Tasks?

Solved!
Go to solution

Is there a way to put sub-folders in the NI-DAQmx Tasks portion of MAX?  I have multiple sets of controls that will be using several different tasks each and it would be nice to be able to separate the tasks into different folders for different projects.   ...instead of what I currently have which is just a jumbled list of tasks.

Thanks!

Chad

0 Kudos
Message 1 of 5
(2,612 Views)
Solution
Accepted by topic author chuggins1434

Doesn't seem to be. An alternative might be to use a naming convention such that you at least get a sorted list of tasks.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 5
(2,604 Views)

Thanks for the info!  Maybe I'll send it in as a suggestion.... now where's  that suggestion box??

🙂

C

0 Kudos
Message 3 of 5
(2,598 Views)

Chad,

 

Do you use LabVIEW Projects for your code?

 

If you do, you could add your tasks to the project instead of MAX. This makes things like organization and distribution easier since the task is associated with it's owning project and can be organized into virtual folders as necessary.  It also removes the need for prefixing names to avoid collisions since tasks don't have global scope.

 

If you're using MAX tasks to allow for access from non-LabVIEW code or for end-user modification via MAX then this technique won't help too much.

 

Screen Shot 2012-12-11 at 2.47.56 PM.png

 

Once defined in the project you can drag project tasks onto block diagrams to create a reference. You can see the task constant displays project tasks above global tasks defined in MAX.

 

Again, I'm not sure if this applies for your use case but it might help someone who sees this post.

 

Regards,

 

Simon

0 Kudos
Message 4 of 5
(2,553 Views)

Simon,

I've just started using the LabVIEW Projects so that is a quite a timely tip for me!  I'm still a realative noob climbing the initial LabVIEW learning curve... which pretty much feels like a vertical line.  Thanks for the tip!

C

0 Kudos
Message 5 of 5
(2,530 Views)