02-07-2022 08:54 AM
Hello community,
since the acqusition is now working with my NI-9234 (in a NI-9185 chassis), I wanted to add a second card (NI-9215) and acquire signals as well (all with the DQMH CML Example Version 6.0).
In the Acquisition module, I changed the data cluster to have a second "DAQmx Task Name" (the first for my 9234, the second for my 9215).
But I do get an error, happening whithin the "Start Acquiring" case in the "Configure Hardware.vi":
Both my "DAQmx Start Task" fail with the following error message:
Error -50103 occurred at DAQmx Start Task.vi:7220002
Possible reason(s):
The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<33>
I am not sure what I am doing wrong here, since I have those two "DAQmx Start Task" in parallel in other code as well. What am I missing?
Thank you.
Martin
Solved! Go to Solution.
02-07-2022 10:27 AM
02-07-2022 01:11 PM
Yes, my apologies for not posting the whole thing in the first place. Here you go 🙂
02-07-2022 02:31 PM
Is there any chance you aborted the code before the task was stopped? You can try going into MAX and hitting the "reset" button when you select your cDAQ chassis.
02-08-2022 10:25 AM
I don't think that I aborted the task at any point.
It doesn't change anything after I reset the cDAQ chassis in MAX.
However, I do have some additional information. When I trie do run my acqusition I get these messages in the "CML Main.vi" message window:
37: Error code -200088 source: DAQmx Stop Task.vi:3590003<append> <DQMH>MHL Frame: Stop Acquiring</DQMH><DQMH>Event Handling Loop</DQMH> Additional Information: MHL Frame: Stop Acquiring
36: CML UI: Logger: Logging Stopped...
35: Error code -200088 source: Acquisition.lvlib:Acquire.vi<append> <DQMH>Helper Loop</DQMH><DQMH>Event Handling Loop</DQMH> Additional Information: Helper Loop
[...]
5: Error code -200088 source: Acquisition.lvlib:Acquire.vi<append> <DQMH>Helper Loop</DQMH><DQMH>Event Handling Loop</DQMH> Additional Information: Helper Loop
4: CML UI: Acquisition: Acquiring...
3: CML UI: Logger: File Initialized...
2: CML UI: Panel shown.
1: CML UI initialization succeeded.
Also I noticed that - when I press the STOP button within the CML UI Main - the aquisition stops BUT the STOP button is still active and the START button is grayed out.
Does this provide any useful information?
Thank you
02-08-2022 10:59 AM
02-09-2022 03:35 AM
Oh my goodness, HOW could I have missed that. It is so obvious. Of course I forgot to update my "Wake Up Helper Loop" with the second DAQ Task.
Thank you for pointing that out. 🤗