From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-11-2007 10:47 AM
12-12-2007 06:32 PM
Hi acrmartin,
If I understand you correctly, you create a new task for each physical channel of analog input. When you do this you receive a ‘resource is reserved’ error.
This error is occurring because M Series boards have a single analog to digital converter (ADC) multiplexed across all analog input (physical) channels. Because of this, all analog input channels share the same timing element and must therefore be in the same single task. One way to think about the error is that the ADC is the ‘resource’ that is ‘reserved’.
To clear up the error, place all of your analog input channels in the same task. Instead of creating a new task with every station, you can add the corresponding physical channel to the task.
Post back if you have any questions. Have a great day!
12-13-2007 09:26 AM