What's the best way to sample multiple AI's with different sampling rates under one task?
I'm using a PCI-6221 card and CVI 7.1.
I have a tri-axis vibration sensor and two other pressure transducers.
I want to take 10k samples from each vibration axis at 80 kHz. This is
possible by configuring the scan rate of the "vibration task" to 240
kHz. (The card maximum is 250 kHz).
I want to take 1k samples from each pressure transducer at 250 kHz. This happens very infrequently.
Each measurement is required by a separate task.
I thought I could do this by setting up three finite tasks (1
vibration, 2 pressure), but DAQmx won't let me run more than one AI
task at a time. I've read other posts here, and I realize I have to
add/remove physical channels on-demand.
What is the best way to optimize this setup so that I'm not hogging up system resources?
Should I do the following?
1. Stop the task
2. Remove the vibration channels from the task
3. Add in a pressure channel
4. Configure the pressure channel
5. Start the task
6. Take the pressure samples
7. Stop the task
8. Remove the pressure channel from the task
9. Add in the vibration channels
10. Configure the vibration channels
11. Start the task
Also, the vibration portion is running in finite mode, but I'm looping
it. Should I switch it to continuous and run the "DAQmxReadAnalogF64"
to sample the latest 10k samples. (If the task is continuous, would I
pull the latest 10k samples, or would I pull some old buffered samples
instead?)
Thank you,
Nobody
Hello Nobody,
If you configure your task timing to acquire a finite number of
samples, then you can only read the number of samples that you
specified in your configuration. Once you try to read more
samples, you will receive the error you are seeing.
If you configure your task timing for continuous acquisition,k then you
can read samples indefinitely. Any given DAQmx Read will read the
oldest unread samples in the buffer.
If you are going to be switching between different tasks, you will definitely need to stop one before you start the other one.
I hope this helps!
Eric
DE For Life!
Similar Messages
-
What is the best way to sync multiple collections of contacts among multiple users?
(I originally submitted this question under the "Mac OS X Technologies" section, but got no response. I'm submitting a duplicate here because this is where all the smart folks are! My apologies that my question is only partially related to OS X Server . . . )
What is the best way to sync multiple collections of contacts among multiple users on iOS and OS X?
For example, suppose I have three collections of contacts: Bob's, Sally's, and Common. I want Bob to be able to access and sync Bob's contacts and Common contacts, and Sally to access and sync Sally's contacts and Common contacts. Bob and Sally never need to access or sync each other's contacts. Bob and Sally would both sync and share contacts in Common.
How would I best implement this? It's my understanding I have three options for managing contacts across iOS and OS X: 1. iCloud accounts, 2. Install OS X server, or 3. Install and manage Darwin CardDAV directly. Which method would best support what I wish to do?
I am a seasoned Unix geek well versed in the terminal, so I am prepared to get my hands dirty as much as necessary to achieve what I want. Also, it is sufficient if syncing takes place over WiFi on the local network, in fact, that is desirable versus syncing over the cloud.Thanks for your reply Nick101. I see my example was oversimplified. When I say "multiple groups of contacts over multiple users" I'm really referring to N groups of contacts over N users.
So I need to add Fred, who can access and sync Bob's contacts, Sally's contacts, and Common contacts, as well as Fred's contacts. Can I do it with OS X server?
You mention you keep your and your partner's contacts administered locally. What keeps you from administering them through OS X server as well?
I am guessing this can all somehow be accomplished with multiple contact accounts, but I can't find any information on the web explicitly describing this. -
What is the best way to manage multiple ipods using the same itunes?
Hi Everyone
i am trying to manage three different ipods through the one Itunes, all with very different tastes, not sure if I am doing it the best or easiest way so does anybody have a simple solution on what you're supposed to do, to keep it all simple!
Cheers
LivIf you have created a new Windows user account you need to log out and then log back in with your original user name. By default each Windows profile will have an independent iTunes library.
If instead you managed to create a new library within the same profile. click the icon to start iTunes and immediately press and hold down the shift key, keep holding until asked to create or choose a library. Click Choose and navigte back to your original which should be at <User's Music>\iTunes.
Your question as posed was:
What is the best way to manage multiple iPods using the same iTunes {library}?
in which case Selected Playlists is probably the best approach. Simply create a playlist for each device, Alice's iPod, Bob's iPhone etc. and sync the device with the appropriate list.
tt2 -
HT4436 What is the best way to set up business accounts with multiple ipads?
What is the best way to set up business accounts with multiple ipads?
Here are three different methods >
How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495
This article > iOS: How to transfer or sync content to your computer, http://support.apple.com/kb/HT1296
suggests using contacts groups.
When syncing contacts, you can choose to sync all of your contacts or only selected groups.
You can select a group of contacts to which all new contacts created on your iOS device will be added.
You can set up groups in the Address Book application.
If you are all going to use the same iTunes apps library, turn off "Automatically sync new apps" in the apps tab just below the list of apps. Then you won't get new apps on your device unless you select them. -
what is the best way to "upgrade" a powerbook g4 with a powerpc chip? it seems that many things are not supported these days. can't download software, update my iphone, download video, etc. can i get the latest software? thanks for the help!
Mac OS X 10.5 Leopard installation system requirements
http://support.apple.com/kb/TA24950
Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
MB427Z/A Leopard 10.5.1 install DVD
MB576Z/A Leopard 10.5.4 install DVD
MB021Z/A Leopard 10.5.6 install DVD (single user)
MB022Z/A Leopard 10.5.6 install DVD (5-user family pack)
Installing Mac OS X 10.5 Leopard
http://support.apple.com/kb/HT1544
Mac OS X 10.5 Leopard Installation and Setup Guide
http://manuals.info.apple.com/en/leopard_install-setup.pdf
After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
The DVD should look like this
Caution - Leopard does not support classic mode. So, if you currently open OS 9 apps in classic mode, you won't be able to do this if you upgrade to Leopard.
Cheers, Tom -
What is the best way to get dirty my hand with office 365
what is the best way to get dirty my hand with office 365
Anil MCC 2011,ITIL V3,MCSA 2003,MCTS 2010, My Blog : http://messagingschool.wordpress.comHi,
Just create an evaluation tenate and get your hands Dirty! Or if you are a partner to Microsoft, you can register yourself at
http://portal.fasttrack.office.com and then you can create sites from there. If you need tenant with data, use
http://microsoftcie.com and create a tenant, then you will have your own contoso to play with! :)
Regards
Henrik A. Halmstrand
sharepointrevealed.com
getspconfig.codeplex.com
Please click Mark As Answer; if a post solves your problem or Vote As Helpful; if a post has been useful to you. -
What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?
What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?
Thanks for any helpHi Donavan,
There are two options for zeroing with the NI-9237. You can perform offset nulling and shunt calibration with a strain task, or if you use custom excitation you can use software compensation.
See the Bridge Balancing, Offset Nulling section in the Load, Force, and Torque Measurements tutorial. Take a measurement before the strain is applied and subtract this from all subsequent measurements. See the above tutorial to consider the tradeoff in accuracy between these two options.
Hope this helps,
Jennifer O.
Applications Engineer
National Instruments -
What is the best way to reconcile gl account postings with pay results ?
Hi experts
what is the best way to reconcile gl account postings with pay results ?
is it running wage type reporter ?
or is there any otehr way .. i have variances in wtr n gl posting for a few employees.
RegardsHi,
Match Payroll Journal (PC00_M40_LJN - Payroll Journal ) with Wage type Report.(PC00_M99_CWTR - Wage Type Reporter )
Finally verify the Posting amount (PCP0) with Payroll Journal....(PC00_M40_LJN - Payroll Journal )
This should solve your issue...
Regards,
Veeram -
What's the best way to create/stitch panorama photos with Aperture?
What's the best way to create/stitch panorama photos with Aperture?
Many thanks
BestThere is no way to do this with Aperture. This thread
https://discussions.apple.com/thread/3714693?start=0&tstart=0
has some suggestions. -
What is the best way to hookup my airport extreme with my time capsule ?
what is the best way to hookup my airport extreme with my time capsule ?
It sounds like you have the AirPort Extreme configured as the "main" router on your network.
If that is the case, connect an Ethernet cable from one of the LAN <-> ports on the AirPort Extreme to the WAN "O" port on the Time Capsule
Power up the Time Capsule
Connect another spare Ethernet cable from your Mac to one of the LAN <-> ports on the Time Capsule
Open Macintosh HD > Applications > Utilities > AirPort Utility
Click on the Time Capsule, then click Manual Setup
Click the Wireless tab below the row of icons and make sure that the setting for Wireless Mode = Off
Click the Internet icon, the click the Internet tab
Insure that the setting for Connect Using = Ethernet
Insure that the setting for Connection Sharing = Off (Bridge Mode)
Click the Update button at the lower right of the window and wait a full minute for the Time Capsule to restart
Then power cycle the entire network by powering everything off....order of power down does not matter
Wait a minute
Power up the modem first, and let it run a few minutes by itself
Power up the AirPort Extreme next and let it run a full minute
Power up the Time Capsule next and let it run a full minute
Keep starting devices one at a time about a minute apart until the entire network is back up
You will need to reset the backup path from your Mac to the Time Capsule to get backups going again
Open System Preference (gear icon on the dock)
Open Time Machine
Click Select Disk
Click the Time Capsule to highlight it
Click Use for Backups or Use Disk and backups should begin again in a few minutes
If you do not want to leave the Mac connected to the Time Capsule by Ethernet, remove the Ethernet cable from the Mac to the Time Capsule, then log on to the AirPort Extreme wireless network -
What is the best way to control a mac mini with iphone 4s , prefer blue tooth
Hi
what is the best way to control a mac mini with iphone 4s , prefer blue tooth, or I can use the syncing cable as well. but no wifi.
Basically to lanch an app and load a preset for that app.
Thank youAs V.K. noted, check out NetRestore's documentation http://www.bombich.com/software/docs/netrestore/English/index.html or visit the fourms at http://forums.bombich.com/
-
I have multiple devices on the same itunes library and they all starting to have the same issues. Not recognizing numbers previously stored, not sending/receiving tests. Do I need to get everyone separate itunes accounts?
What is the best way to set up itunes on our home network?
One iTunes library per person. One iTunes account per person.
If people wish to share songs, they can make copies.
When the inevitable day comes when the kids get older, you will not have to come back here and post asking how all that stuff can get separated! -
What is the best way to send multiple pdf files to my ipad
what is the best way or app to send multiple pdf files to my ipad, so that I can then combine them into one folder
I have the app Readdle Docs. It allows you to move PDF files to your device and to move them around on your device. Might check it out. ( I think there's an iPad version of the app, but I have the iPhone version and it works, just not as pretty)
THere's also Goodreader, but I don't have experience with it to know if it has folder abilities. -
For most of my life, I have used my family's home Windows desktop to establish my iTunes account with my iPod Classic (5th gen). On this computer I have:
iTunes store purchases
CD imports
Other MP3 files
Podcasts
Photos downloaded from online
Now I am in college in another city, and I won't be able to come home much, so I'm setting up iTunes on my laptop as my new "home base", as it were. I've already authorized it under the same account that I use on my desktop. What is the best way to move all of this stuff from my old computer to my new one? I'm thinking an external hard drive is the best decision, but I want the input of the Apple community. You guys are much more knowledgable than I am! Thanks!Hey Alayna,
Welcome to Apple Support Communities, and thanks for the question! I'm not really in a position to recommend a "best" option, as there are several different ways to go. You can read over your options in the following document and decide which one works best for you:
iTunes: How to move your music to a new computer
http://support.apple.com/kb/ht4527
Have a good one,
David -
Here's my scenario.
Currently: I have 2 iPhone 4 and 1 iPhone 4S
Plan: Upgrade all three to iPhone 6 Plus (16GB)
What is the best way to do the $200 trade in deal for each of the old phone?
http://www.verizonwireless.com/support/faqs/Equipment/trade_in_program.html#iPhone Trade-in Promotion
1. When I preorder at 12:01 AM do I have to pay $300 or $100 for each?
2. Do I have to send the old iPhones first in order to get the $200 gift cards?
What should I do to make sure each preorder can be discounted?Vice_Actual,
Thank you so much for reaching out to us. We are super excited about the launch of the new iPhone. In order to get the trade in deal you would need to trade in the device and then you would get a Verizon Wireless gift card mailed out to you. If you pay for the devices with a credit card on pre-order the card will not be charged until the devices are shipped.
KevinR_VZW
Follow us on Twitter @VZWSupport
Maybe you are looking for
-
How do I remove an apple ID that isn't mine from my Ipod Touch
I am unable to update my apps or purchase apps in the App Store on my Ipod Touch. When I try to do this, it asks me to sign in with my password to an account that isn't mine (it belongs to a friend who has used my itunes before on my computer). I can
-
How to fix this error in webutil configuration
hi all, I'm new in forms now i'm trying to configure webutil in forms 10g, actually i search in this forum and i found this link http://baigsorcl.blogspot.com/2010/01/open-file-dailog-box-example-using.html for BaiG member but i stucked in this step
-
Help not responding
-
Generate XSQL from XSQL/XSL
Hi all, is it possible to generate dynamically a temporary XSQL (many querys) with XSQL/XSL and ececute this immediately. Thanks for any help !! Achim
-
Fillable Forms Are Coming Back Blank
We use a fillable PDF application form. A number of the applications that are returned to us are coming back blank. It seems in many cases these have been completed on a MAC. Any suggestions to assist our candidates or instructions we can provide to