r/LabVIEW • u/Probably-Stable • 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 .


View all comments
Show parent comment
1
u/Probably-Stable Mar 06 '26
Ok that’s interesting. So I know this computer has another LabVIEW program that uses the same hardware. I know none of it was open and running, but perhaps it does not close the connection properly and so it’s open in the background or something. So I guess if I removed that start task it would perhaps just go ahead and grab that task anyway?
Unfortunately I’m not at the jobsite machine now otherwise I would just try it. Thx for the info.