How to use a multiple boards (6321/6323) analogical acquisition task with simultaneous analogical generation task using the same boards (Labwindows CVI10)

Subject : it seems impossible to run a multiple boards analogical acquisition task with one or several analogical generation task using the same boards.
NI Configuration : Dev1 = Dev2 = 6321 boards
Development environnement : LabWindows CVI 10
Source code for analogical acquisitino task :
       DAQmxCreateTask("",&AIRecordingtaskHandle);
       DAQmxCreateAIVoltageChan(AIRecordingtaskHandle,chan,"",DAQmx_Val_NRSE,min,max,DAQmx_Val_Volts,NULL);
       DAQmxCfgSampClkTiming (AIRecordingtaskHandle, "", rate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, sampsPerChan);
       DAQmxGetTaskAttribute(AIRecordingtaskHandle,DAQmx_Task_NumChans,&gNumChannels);
Chan = "Dev1/ai0, Dev1/ai1, Dev1/ai2, Dev2/ai1"
Source code for analogical generation taskS :
       DAQmxErrChk (DAQmxCreateTask("",&AOtaskHandle_C1_DAC0));
       DAQmxErrChk (DAQmxCreateAOVoltageChan (AOtaskHandle_C1_DAC0, chan, "", min, max,DAQmx_Val_Volts, ""));  // chan vaut Dev1/ao0
       DAQmxErrChk (DAQmxCreateTask("",&AOtaskHandle_C1_DAC1));
       DAQmxErrChk (DAQmxCreateAOVoltageChan (AOtaskHandle_C1_DAC1, chan, "", min, max,DAQmx_Val_Volts, "")); // chan vaut Dev1/ao1
       DAQmxErrChk (DAQmxCreateTask("",&AOtaskHandle_C2_DAC0));
       DAQmxErrChk (DAQmxCreateAOVoltageChan (AOtaskHandle_C2_DAC0, chan, "", min, max,DAQmx_Val_Volts, "")); // chan vaut Dev2/ao0
At the first DAQmxReadBinary call attempt, the system shows an error (see attached document) 
What we understand about that error : it is impossible to run the two set of tasks (ai and ao) using ressources from both Dev1 and Dev2 in the set of tasks because it is not allowed to use the same Reference Clock for that.
The question is : is there a way to to that without having that kind of message?
We tried different combinations :
- Using only one ao task (on Dev1/Dac0) : same error
- Not using any ao task (only the ai task) : no error
- configuring the ai task with only channel from Dev1 : no error 
- Using "/Dev1/ai/SampleClock" as internal clock for the ai task and "/Devk/ao/SampleClock" for each ao task (k standing for "1" or "2" depending of the ao task we consider) : error
Thanks a lot.
Pièces jointes :
MsgErreur NIDAQmx.JPG ‏38 KB

doublon
Valentin
Certified TestStand Architect
Certified LabVIEW Developer
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France

Similar Messages

Maybe you are looking for

  • Adobe Flash CS4 installation error

    Hello, I just downloaded trial version of Adobe Flash CS4 (Englisth|Windows) but after unpacking the archive and starting setup.exe I am getting error msg (see att). Are there any error logs with more information?? Text is in czech language so here's

  • IMG settings after creating new output type for a purchase order smartform

    Hi all, Do I need to make changes in IMG after creating a new output type in NACE for a purchase order smartform? I have customized a purchase order smartform according to the requirements and copied an existing output type and assigned the custom fo

  • Symbol problems and fonts

    Hi all! I have been plagued with a problem when trying to use symbols and think I have figured out what it is: Custom Fonts not loading! I'm using two custom fonts in my symbols and sometimes when I upload the project to the web, the fonts are not sh

  • TimeBalance Property EPMA

    hi, I am trying to load account members via ads file & I am able to import all the members successfully except for the Time balance property for those accounts. When I have successfully uploaded the members I went into application library in EPMA & I

  • Service Requests stuck In Progress

    I have about 20-30 service requests that are stuck in the In Progress state. The activities on the Service Request have been completed. I have tried restarting the services below and deleted the HealthServiceStore.edb file in the folder C:\Program Fi