12-15-2014 03:50 PM
I am running multiple modules in a NI cDAQ-9172 chassis. Module 1 is an NI 9213 TC module. Module 2 is a 9211 TC module. I can create and start a task on Mod1, and I can create a task on Mod2. However, when I try to start the task on Mod2, I get error -200022, "Resource requested by this task has already been reserved by a different task." I've never had this problem before. I hope I am missing something obvious. If anyone can help, I would appreciate it greatly.
Solved! Go to Solution.
12-15-2014 04:02 PM
As far as I know, you can only have 1 Analog input task on a cDAQ.
You can combind the reading from both modules in the same task.
And just a comment on your code:
You need to learn to stay away from local variables and Stacked Sequence Structures.
If you think you need that SSS, then you are way better off with implementing a state machine.
12-15-2014 04:21 PM
12-16-2014 02:27 AM
I often run more than one analog input task on cDAQ-9184/88's, but i also encountered the same problem when assisting a student using a legacy chassis. However, there is still a limit on just one task on a single c-module.
12-16-2014 11:01 AM
I forced the boss to bite the bullet and ordered a new chassis.
12-16-2014 11:16 AM
12-16-2014 01:02 PM
Nasty and condescending as always, Dennis. Why do you have to be like that? Why not offer solutions rather than insults? Sorry if much of my LabVIEW coding is self-taught, but I have written some VIs that do amazing things. If you have anything helpful to offer in terms of how I can read from multiple AI modules at various different sampling rates, please feel free to post them. If you just want to hurl insults, I request you find someone else to vent on.
12-16-2014 01:07 PM