10-05-2009 12:10 PM
I have 5 ENET-9163 and I plan to use on them as the necessary amount of devices.
I provide up to 5 devices and tasks, but the User can use a smaller amount of devices and tasks, this should be selected in software.
I saw the example in http://zone.ni.com/devzone/cda/epd/p/id/6124, but it has a fixed size of devices and tasks.
What is the structure most appropriate to create and start the number of tasks as the number of devices selected by the User?
Thx for help
10-08-2009 02:37 PM
Are you talking about how to set up one to five DAQmx Tasks based on user input? If so, this is a general question and we can forget about the ENET-9163 business. (?).
10-09-2009 06:44 AM
Thx Broken, but i dont understand your comment. You writed about forget ENET-9163 because is impossible configure DAQmxTasks based on user input or the problem is ENET-9163? Please, give me a few of your knowledgement.
I think in case structures, but I think too that is a poor solution, dont recommended and "pig".
Very thx for patience with me!
10-09-2009 07:12 AM
leocavadas wrote:
I think in case structures, but I think too that is a poor solution, dont recommended and "pig".
I'm not sure what that means. ![]()
10-09-2009 08:41 AM
I thought of many cases structures as required by User, if choice 3 devices... enable a case that have 3 task creation and continue the process with aquisition. Is possible?
thx again.
10-09-2009 08:44 AM
That is a very typical way to do it.
10-09-2009 08:50 AM
Broken, the final question, please.
Exist other way? If exist, what?