|
|
发表于 2007-6-20 13:18:14
|
显示全部楼层
哦,原来是这样,我把它收录起来,到时候放精华列表贴里面好找,呵呵!如下所示:
问题:
Hi!
I have the following error at this line:
......Task.Start();
NationalInstruments.DAQmx.DaqException: The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<8>
Status Code: -50103
at a(tCaseInsensitiveBasicString<unsigned short,_STL::char_traits<unsigned short>,_STL::allocator<unsigned short>,nNIDMXS100::tLocaleConsideringWideStringComparitor,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* , tStatus2* )
at a(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100 tNetApi> >* , tTask* )
at NationalInstruments.DAQmx.Task.Control(TaskAction mode)
at NationalInstruments.DAQmx.Task.Start()
why is this possible? Maybe is the same task starting twice, or another tasks from other AI 's are making this error?
Please reply!
THANKS!
回答:
basically it is only possible to use a ressource of a board at one time. this means, that you can have one AI task, one AO task, one digital task and one for counter/timer in one program running. if you have another AI task in this program, then you receive the error you posted.
if you want to acquire more channels, you have to put them into the same task. |
|