Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69285

Active/Enabled Channel Control

$
0
0

My question is twofold. First is there a way to tie in the channel number of an active channel (per the DAQmx Assistant or enabled with a boolean button) back to a "convert from Dynamic data" so that I dont have to manually change code everytime my channel configuration changes (see Fig 1). Sorry for the Icons, the snippet screenshot did that.

 

Second, is there a way to cleanup this snippet to be in a For Loop and link the in the number of active channels into N so that this bit of code is simplified and easier to read? I saw an example somewhere in the forums like in Fig 2.

 

I would appreciate explanation or examples. Thanks!

 

Enable Number of Channels.png

 

 

Channel Loop.png


Viewing all articles
Browse latest Browse all 69285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>