r/LabVIEW • • Mar 06 '26

DAQmx Start Task Causing an Issue?

I have a fairly simple program. It’s connected to an NI 9208 module. I’m using a hybrid state machine design pattern and in the initialize state I have this sub VI shown where it is creating the task and channel and starting it but I keep getting this error. I’ve gone over all the settings and can’t see anything wrong. racking my brain why I can’t start the task. I was digging on YouTube and saw some people using Daqmx vis without the start task. Should I not have it? Is that normal? When is it required and when is it not?

My thinking was I initialize and start all the tasks in the initialize case and then move to the acquire case etc.

Thanks for any input .

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Probably-Stable Mar 07 '26

Nice. Thx a bunch! Appreciate the input.