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
-
I use "element 12" and want like in the old PS version due Automating and Contact II upload multiple filesand print them with any columns and rows on the same page . How does it work?
Can you supply a link?
-
I have been using a free trial of Photoshop cc and my computer crashed. Now it says up to date, but the program is not installed anymore. How can I re install it? I already uninstalled creative cloud and re installed it, but the same issue occurs.
Hi dmomoney24 ,
Kindly refer : CC desktop lists applications as "Up to Date" when not installed.
Please revert if the problem persists.
Thanks,
Atul Saini -
A email account that was used is now not in use and songs that were purchased and added are bound to this old account from the same computer how do I the purchaser of these songs reclaim the authorization to play and use in my new account. even though account name may have been changed.
Just authorize the computer and retreive them.
Go here -> https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa/iforgot .
FYI: you should have simply updated the AppleID with new info and continued to use it instead of creating a new one. -
Good afternoon, I would like some information I have an ipod nano 6th generation and has the same one-year warranty is only 2 months of use, and it fell down and broke the glass of the display, I called technical assistance in Brazil and informed me that Brazil has no repair services for Apple, which was the basis of its price change in the exchange is not worth half the value of the product.
I wonder how I do to change this device without the expense of 50% for the same product is in warranty?
Thanks in advance.yes agree, plus a multinational seeing a product and has no technical assistance to do the maintenance then it's no use I buy a new product if it is damaged I will always be because it has no prejudice in this maintenance.
sorry but even more products coming from China to Brazil in technical assistance. -
Why, with iCloud, do we continue receiving the same email on multiple computers?
Why, with iCloud, do we continue receiving the same email on multiple computers? Is there a way of stopping this?
If those multiple computers are all setup to use the same iCloud account, then it is working exactly as intended. That's what iCloud does. Keeps your email, contacts, calendars, bookmarks, tasks etc. in sync across all devices/computers that the same iCloud account is setup on.
If you want independent email on each device/computer, you need to setup independent email accounts for each device/computer. -
How do I transfer my songs from my old computer to my laptop? They are both the same iTunes account.
These are two possible approaches that should work to move an existing iTunes library to a new computer.
Method 1
Backup the library with this User Tip.
Restore the backup to your new computer using the same tool used to back it up.
Deauthorize the old computer if you no longer want to access protected content on it.
Keep your backup up-to-date in future.
Method 2
Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase are reload.
I'd recommend method 1 since it establishes an ongoing backup for your library.
Should you be in the unfortunate position where computer has died with no backup then see Recover your iTunes library from your iPod or iOS device.
tt2 -
my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?
my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?
-
how can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........
Tom Wolsky wrote:
The advantage goes to FCP7 if you allow that it can copy and paste filters, audio and video, transformations, and other attributes separately.
You can do that in FCPX too, as all the things you cited are listed separately in the inspector.
Here's a little gotcha. Let's say you've color corrected a few clips and you've applied an effect to one and want to paste it the other clips. You switch off color correction and copy the clip. You select the other clips and paste effects. What do you think happens? The effect is applied, but the color correction is applied as well, only it's switched off as it was in the first clip, so all the color correction on the other clips is lost. Fun, eh?
I'll try to replicate your gotcha - but no, that doesn't sound like fun at all! -
Using a SDHC card adapter I can import directly on my iPad2 videos (.mov) taken with a Panasonic DMC-ZS3. The same video files (same file format) imported in Aperture 3.3 cannot be synchronized with iPad. Is Aperture causing the problem?
Oh, baby! This bad boy flies!! Here's what to expect:
I had 40,000 images in Aperture 3 and it was dog slow at everything. I installed 3.1 update today. It took 5 minutes to update the database and then behaved marginally better than before at ASIC library navigation. I was disappointed.
Then I QUIT the app. It took a couple of hours to "update files for sharing" with a counter that went to 110,000 images. So it must have updated every thumbnail and variation of preview. Turned it back on , and BAM. Came up fully in seconds. Paused for 10 seconds ten everything was lickrty split. For the first time ever, I can use the Projects view with all 791 projects and scroll quickly. I even put it in photos modevand whipped thru all 49,000 images!
Haven't done anybprocessing yet, but i'm liking it!!
Jim -
Hi,
I was wondering how to convert a complex baseband signal with bandwidth 20MHz to an RF signal with center frequency 2.4GHz and the same bandwidth 20MHz in simulation. I tried
1. Multiplying the complex double type baseband signal (1-D array) by exp( j * 2 * pi * 2.4E+9 * T ) where T is the symbol period of baseband signal.
2. Usage of MT upconvert baseband but doesnt keep the BW constant
Looking forward to your help.I should add that you can multiply your baseband signal with two carrier signals that are shifted by 90° and then add or subtract the result to obtain upper or lower sideband only. You can try to search about IQ moduilators/demodulators to learn more.
Cheers
Edgar -
my IPad has stopped printing using air print and my HP Photosmart 5520 but my laptop is printing ok on the same system. any ideas? I have re-booted everything.
Hi I have an HP printer. I use an APP called print central from APP Store. Used this for the last 2 years on 2 IPhones & 3 iPads with no problems. Cheers Brian
-
iTunes Tutorials iwll not play. Using windows XP. All software up to date. I know others have had the same issue, however I have not seen a solution. I appreciate any advice.
I have traced the problem to a corrupted profile. When I captured the images in question, I also used Color Cherckr to create a profile for processing. When I apply that profile to the adjustments I make, I can no longer "Edit In". If I use another profile, even one that I created using Color Checkr at a different point in time, I don't have the issue. Something seems to have corrupted the new profile. I will re-create the profile and see if the issue is resolved.
-
My apple TV will not let me use my gmail account to log in to Youtube. Is it because it is the same email account I use in my Apple ID?
I'm having the same problem.
Error message reads: This account cannot be used with Apple TV. Please sign in with different account.
I'm using my gmail account to access Youtube as i do on my Mac. I have a completely different Apple ID account. -
how can i synchronize analog output and analog input timings to generate and measure voltage at the same time.
Read this Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
And also refer to this link where You have repeated this question.
PS: Please stick to one thread. That way, its easier to keep track of your query and answers
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
-
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
-
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