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!