12-10-2012 04:13 PM
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
Solved! Go to Solution.
12-10-2012 04:41 PM
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...
12-10-2012 04:47 PM
Thanks for the info! Maybe I'll send it in as a suggestion.... now where's that suggestion box??
🙂
C
12-11-2012 02:54 PM
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.
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
12-12-2012 05:22 PM
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