Unlike the old NIDAQ TaskID, the DAQmx tasks can't "usually" be passed through a shift register.
But there is a work around.
In the Advanced Task Options palette, you'll find the DAQmx Create
Task.vi. Call this just before your call to the DAQmx Create
Channel.vi.
The only input you'll need is the AutoCleanup, which you set
False. Pass the TaskOut to the TaskIn of the Create Channel
function.
If auto cleanup is FALSE, LabVIEW does not automatically destroy the
task until you exit LabVIEW. You'll have to use DAQmx Clear Task.vi to
manually destroy the task.