How Do I Keep 2 separate counters in sync.

I plan on using the new PCIe-6351 X Series hardware which incorporates 4 counters. The current code example enclosed works fine. My problem is, I need to measure position using the linear encoder task and get my instantaneous velocity (v= d/t) using the period task inside a correlated time reference. With the current code, each timed loop is out of sync so my position/period measurements are not synchronous. Is there a way to configure DaqMx to run these counters in a single synchronous timed loop? If so, how is such a configuration arranged?
 I am able to get the velocity using just the data from the linear encoder task, but this requires an additional software routine and my measurement accuracy suffers. It would be advantageous to incorporate an instantaneous velocity reading using the period task.
If a new example configuration of DaqMx could be provided, that would be great.
Thanks Much For The Help,
Darryl
Software Engineer
v = velocity
d = distance
t = time in seconds
Attachments:
newBest_synch-2counters-dummyai-4.vi ‏217 KB

Hey
Try sharing the sample clock between two counter task or you can set then to start at the same start trigger.
Hope this helps.
-Lab 

Similar Messages

  • I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    I have a .mac family account, a personal .mac account and separate iTunes id I use for my work iPhone and the associated apps.  How do I keep them separate in the iCloud change?

    Welcome to the Apple community.
    Could you tell us a little more about what you want to do. Bear in mind that iTunes has nothing to do with your iCloud account.

  • I just purchased a new ipod touch so now I have two. I do not want the second ipod touch to sync the same as the old ipod touch - 2 people with 2 different music preferences. How do I keep them separate.

    I just purchased a new ipod touch so now I have two. I do not want the second ipod touch to sync the same as the old ipod touch - 2 people with 2 different music preferences. How do I keep them separate.

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    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 and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • I have a new Iphone 5, my wife has a 4S and an iPod Touch.  When I sync my new 5 to the Mac, it pick up ALL of the stupid game apps that my wife uses on her two devices.  How can I keep them separate?

    I have a new Iphone 5, my wife has a 4S and an iPod Touch.  When I sync my new 5 to the Mac, it pick up ALL of the stupid game apps that my wife uses on her two devices.  How can I keep them separate?

    go to itunes preferences, store, uncheck automatic downloads. also when your phone is connected you can click  on apps and only check the ones you want on your phone, go down to the bottom right and click apply.

  • 3 family members have new iphones.  we are using the cloud. how do we keep emails separate

    3 family members have new iphones. we are using the cloud.  how do we keep emails separate

    Use separate iCloud accounts, with separate IDs.  (Note: you can continue to share the same ID for the iTunes and App stores; it does not have to be the same as the ID used for iCloud.)  One phone can keep the current account.  On the other two, go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on the iPhone.  (If you are syncing iWork documents with iCloud, also open your iWork apps and turn off iCloud syncing and choose to keep the documents on your phone.)  After everything is turned off, scroll to the bottom and tap Delete Account.  (This will only delete the account from these phones, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  Next, set up a new iCloud account on these phones using separate Apple IDs and turn iCloud data syncing for contacts, etc. back to On.  When prompted, choose Merge.  This will upload the data to the new accounts.
    If you have merged data in your accounts at this point, you will have to go to icloud.com on your computer, sign into each iCloud account separately and manually delete the unwanted data (such as deleting the other phone's contacts from your account, and vice versa).

  • How do i keep 2 iTunes libraries in sync

    Hi
    I am sure this must have been asked before BUT, how do I keep 2 iTunes libraries in sync?
    Some of the music is is purchased from Applestore but most is ripped from my CD's.
    Some of my films are purchased from Applestore but most are ripped from my DVD's or digital downloads.
    Most of my books are from audible.co.uk, CD rips and a very few from Applestore.
    I need/want to keep my primary iMac (which syncs with my iPad and iPhone) in sync with my home media server which is a Mac Mini.
    Andy and all help would be hugely appreciated.
    Regards.
    Robin
    PS I have tried MyTuneSync but this duplicates lots of files and does not handle deletions at all well.
    I have also tried SuperSync, this is hugely confusing, does not seem to wrok very well and has ZERO support.

    What did you copy over?
    I keep my iTunes library on an external hard disk on both machines as it is over 1.5Tb in size.
    But you still have the 'management' part of iTunes in the local iTunes folder and this does not get updated when you add sometthing from one machine onto the other?
    I do actually owned Synk but am sure I saw somewhere they do not suggest using it for iTunes?
    Robin

  • How can you keep music in iTunes in sync with 2 Mac's?

    How can you keep music in iTunes in sync with 2 Mac's?

    There are some third party applications designed to do this. Have a look at this one for instance and see what you think: syncOtunes

  • I don't want my contacts to sync my iphone contacts on my daughter's phone.  How do I keep them separate?

    I have an iphone 5.  My daughter and husband still have a 4.  We all have separate contact lists and would like to keep it that way.  How do I do this?  I just updated my daughter's phone and now she has everyone's contacts.

    Sign into your iCloud account on icloud.com and check your contacts.  If they are there, go to Settings>iCloud and turn Contacts on to download them to your iPhone.  Then, if you don't want to sync contacts with iCloud, go to Settings>iCloud, turn Contacts off and choose Keep on My iPhone.

  • One apple ID on my and child's iPad. How do I keep apps separate?

    Is there a way I can sync my apps purchased from my iPad and iPhone with each other without getting the apps from my child's iPad mixed in as well?

    forgot to mention to also UNCHECK the "Automatically sync new apps"  box in that same apps window at the bottom of the screen.  that way you can keep them seperated and cutsom.   it might also help to go into iTunes Prefs> Devices> and select Prevent ipods,..... from syncing automatically. 

  • How do I keep albums separate?

    I have an auto with a 12 GB hard drive as part of the music package. I am trying to download from a USB stick into the drive. I pull the songs from iTunes to the USB drive, then plug the drive into the car and download. It downloads, but the album separation is lost. All the albums get dumped into one album. Is there someway to do this that preserves the album separation? I have an early 2009 iMac with 10.8.4 and the latest iTunes.
    Thank you
    Carl

    Diane's method is the way I do it for the few duplicate album names I have. You could also be more subtle if you wanted and add empty spaces at the end of the different album titles.
    Anthology
    Anthology<blank space>
    Anthology<blank space><blank space>
    That way you would effectively only see "Anthology" as the album name but itunes would seem them as different albums.
    I haven't tried this but it is also possible that if you set an album artist (even if a bogus name) for each album that that might cause them to group together album by album.

  • I have just installed itune again. now i sync problem of existing music will be replace with new itune which is empty. how can i keep my pervious files and sync new....

    i have just installed itune again. now when i sync it, it show me warning that all existing music will be replace with new itune which is empty. h
    ow can i keep my pervious files of music photos and other files and sync with new installed itune

    Use your backup copy of your computer to put everything back on the computer.

  • How do I keep photos on iphone when syncing for first time

    I gave my iPhone 4 to my son as an 8th grade graduation gift.
    He now wants to sync it to his macbook, so I helped him set up an itunes account.
    When we go to sync it, it says it will wipe the phone clean.
    He has some music on there from my itunes acct, and alot of photos he has taken.
    How can he do an initial sync without losing his dat (mostly photos)
    Thanks!

    I am not sure if you can do this if it is your first time on a new iTunes account, but I like to uncheck the box that says something like "Automatically manage your media". This means that iTunes does not care what apps and music etc. that I have on on my phone and if I want to add something I just click and drag a media file onto my phone's name and if I want to delete something I just view files on my phone via iTunes and delete it. I never need to check and uncheck songs in iTunes using this method. Itunes also never has to automatically delete and replace "outdated" media this way. If you can access this checkbox on the Device Summary page when you connect to your phone to iTunes, I highly recommend trying this.

  • How do you keep your users/groups in sync with latest developments?

    As there seems to be some reorganization happening with regards to the core system users and groups (with systemd develpment and whatnot) I feel somewhat uncertain about how I should set up my users, which are needed and so forth, seems every update of the filesystem package as of recent leaves me with changes to the users/groups in .pacnew files that needs careful merging to not screw up the system.
    There is of course https://wiki.archlinux.org/index.php/Users however this is usually outdated (it currently only has one systemd user while the most recent passwd has five). Last time I broke my system was when I tried to apply changes suggested by the wiki page, rather then trying to figure out the changes from the .pacnew files).
    Unfortunately I don't feel confident enough with the most recent changes to fix the wiki-page myself.
    Right now my method is rather ad-hoc, I read the .pacnew files and make some guesses as to what users/groups in my files were added by other packages and should be left alone, and what users/groups were deleted/changed/added from the actual filesystem package because of changes in for example how the lastest version of systemd works. As I've made wrong guesses before, I feel there might be a better way to deal with this.
    How do you do it?
    What are the best sources of updated information for what currently is the best practice way to set up the core system users/groups?

    I find it very helpful to know what has changed in the files from last update to the current, so I can see which of the differences to my files are from the package update and which are custom changes of other packages or myself. So I either compare a new *.pacnew file to the last one if I had saved it (what I do for some files), or I go and check the diff of the package update. To do that, I go to the package page for filesystem, click on View Changes under Package Actions, find the current version and follow its link. There one can see which files got what changes.
    For example the filesystem 2014.07-1 update had a change in the group file, input:x:97: got added, and also some changes in gshadow.
    Last edited by Sanne (2014-11-05 11:55:28)

  • How do i keep my wife's iphone and mine separate when syncing?

    my wife and i just bought 2 3Gs iphones yesterday. when i synced them, my account (the master account) had all my info on her phone as well as mine. how do i keep them separate? this is what i have i done so far.
    -created family pack w/ mobile me and set up an account for her.
    -synced her account (as well as mine) with the "cloud"
    -synced both accounts in system prefs on MBP.
    -i also set up an itunes account with her info on it and signed into it when i synced her iphone but still my apps show up on her iphone and vice versa.
    any help would be great

    we have a MacbookPro 2.53GHz C2D. we are running the latest version of itunes, iphone OS, and mac os 10.5.7.
    when i synced her phone with itunes i signed into her itunes account. and when i synced mine i signed into my itunes account.
    however, there is one user account on the MBP. i was told by the guys at apple store i didn't need to do this because all i really needed to do was to have 2 different itunes ID's/accounts.

  • HT201320 How can i keep my email accounts separate on my ipad like they were b4 latest update?

    I just installed ios7 now all my incoming email comes in together- how can i keep them separate- i have 2 email accounts?

    Edit : your reply applied whilst I was typing this
    This is what I see (I've removed my account names) :
    And after tapping the Edit button :
    If you aren't getting that then you could try closing the Mail app via the multitasking bar - press the home button to go back to the iPad's homescreen ; double-click the home button to the multitasking list ; swipe or drag the Mail app from there up and off the top of the screen ; click the home button to close the bar. Then see what shows in the Mail app
    Message was edited by: King_Penguin

Maybe you are looking for