I am getting this error
The source of this error is coming a cloneable instance of my Card module in DQMH.
The above screenshot is the front panel for the DO card (Card Module with Module ID = 2).
Here is the RQST Stop Card Event that has the Stop Task call which is causing the error
The task is getting started in another case called RQST Start Card which is here
Here is that START CARD VI
Here's the True case. The True case is used in another module where there is a Timed Loop that should start this task automatically so the start task VI has been removed from there.
I'm pretty sure the task is being created but I'm not sure if it's being done correctly so from the error message I'd guess that there is something invalid with the task rather than it not existing. Also the timing for that task should be using the sample clock from the AI card as shown here
That timing source OUT gets fed into a timed while loop here which should start all the tasks for all the cards after the all get stopped first
The cards are being started for continuous samples when the PXIe-8861 controller starts up then when the real time model starts, the cards all get stopped, then started again except for in hardware timed single point for the cards that allow it.
Is there something wrong with the way I'm setting up the DO card or is it something else in my code?