LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create task by selecting devices(by user) in parallel arrangement

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

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 1 of 7
(3,412 Views)

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. (?).

 

 

Richard






0 Kudos
Message 2 of 7
(3,383 Views)

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!

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 3 of 7
(3,364 Views)

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. Smiley Indifferent

 

 

Richard






0 Kudos
Message 4 of 7
(3,356 Views)

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.

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 5 of 7
(3,349 Views)

That is a very typical way to do it.

Richard






0 Kudos
Message 6 of 7
(3,346 Views)

Broken, the final question, please.

 

Exist other way? If exist, what?

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 7 of 7
(3,344 Views)