Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I select polymorphic instance of DAQmxCreate Channel by enum or ring selection?

Solved!
Go to solution
I would like select the instance of DAQmx Create Channel.VI by selection in the enum or ring...I want configure before of start acquisition because i have an acquisition VI that can use accelerometer or proximitor like transducers to measurement.
 
Thx for clue. Look attached figure.
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 3
(2,937 Views)
Solution
Accepted by leocavadas
Hi Leocavadas,
 
There isn't an option to wire in a vlue directly to decide the polymorphic instance since each polymorphic instance has different inputs save for the common ones like Task and Physical channels. It sounds like a case structure would work best. You would want to place the polymorphic instance of the DAQmx Create Channel VI in each case that corresponds to the AI type you want. Using an enum would be a great way to organize and control your cases.
 
I believe something along these lines is what you are looking for:
 
 
Hope this helps,
 
Andrew S.
National Instruments

Message Edited by stilly32 on 12-01-2006 01:50 PM

Message 2 of 3
(2,923 Views)

Hello Stilly32,

Thx for help me,  I have this idea ... but i think that have a way more direct....Now i  know that no have.

Thx again.

Message Edited by leocavadas on 12-04-2006 08:43 AM

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 3
(2,906 Views)