PWM & AI Synch

Hello,
I've been searching at the forums and support to no avail. What I've checked so far is: http://decibel.ni.com/content/docs/DOC-10785  http://forums.ni.com/t5/Multifunction-DAQ/How-to-S​yncronize-Analog-Digital-PWM-Input-and-Analog-Digi​... and the LabVIEW included examples.
What I'm trying to achieve is as simple as reading a PWM signal and an Analog signal synched using LabVIEW 8.2.
I'm measuring:
 - A PWM signal at about 1050Hz using two counters (one used to measure the exact frequency and the other to measure the width of the high pulse)
 -  Analog Signal between -10V and 10V (from a load cell). I will add another analog signal from the same device in the future, but this is irrelevant.
This is what I've got so far:
I'm facing mainly one problem with this:
 - Some of my Width and Frequency measurements are wrong. So wrong as extremely tiny width measurements or extremely high frequency measurements (as high as 2500-3000 Hz). I may avoid this by "filtering" the data... But I'm sure I'm doing something wrong and I should be able to get the data OK right from the start.
I guess I'm getting wrong measurements from the counters due to the counter reading "from time to time" getting some of the pulses cutted. I was expecting the counter to read continuosly at the best timebase available with my expected frequency/width and simply discarding the excess of data. For example: at time 0 it will return the first value and at dt it will return the nearest value measured, discarding the inbetween data. So if my rate is 100Hz and my PWM goes as fast as ~1000Hz I will have about 10 PWM measures to chose from for each AI measure.
By the way, is there any other way of measuring a PWM with just one counter (a part from guessing the frequency)? In the future I may need to read 2 PWM signals and reading them with just one counter will ease my work, as I will avoid having to synch two boards.
I will greatly appreciate any help on this, as I'm getting stuck.
Thanks in advance,
Xavi
Solved!
Go to Solution.
Attachments:
TestSynchro_Example.vi ‏63 KB

Sorry to reply myself...
Now I'm feeling completely stupid. I was relying on the stability of the signal being measured. I've just checked my vi with a pulse train generated from another DAQ device on MAX and it works flawlessly. So problem may be on the signal measured, unfortunately I have no way to check it right now.
Anyway, problem solved... 

Similar Messages

  • Hot Synch Lock-Ups

    I have a Palm Z22, when I hotsynch with outlook, all goes just fine untill I reach expenses, then it locks up on CitiesDb.  It used to lock up on a different Db.   Why is this, can I skip it, how can I make it stop.  I have to end the task on the PC and reset the handheld everytime (Lucklily it is after it is giving me what I need with Synching calendar, tasks, and contacts
    Post relates to: Palm Z22

    scooter_95126, please don't double-post the same message.  I've combined both posts into one here.
    Thanks!
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Each time I try to synch photos from my Windows 7 PC to my iPad2, iTunes stops working, and the error report says Problem Event Name:     APPCRASH   Application Name:     iTunes.exe   Application Version:     10.3.1.55   Application Timestamp:     4deec35

    Each time I try to synch photos from my Windows7 PC to my iPad2, iTunes stops working and the error message is:
    Problem Event Name:                          APPCRASH
      Application Name:                             iTunes.exe
      Application Version:                           10.3.1.55
      Application Timestamp:                    4deec351
      Fault Module Name:                          ntdll.dll
      Fault Module Version:                        6.1.7601.17514
      Fault Module Timestamp:                 4ce7ba58
      Exception Code:                                  c0000005
      Exception Offset:                                0002e3fb
      OS Version:                                          6.1.7601.2.1.0.768.3
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    I reloaded iTunes 10 (64 bit) successfully, but the problem remains the same.
    Any suggestions?

    I looked in the folder from which I want to synch photos, but there is no such thing as an "ipod photo cache" in that folder, or sub-folders, as suggested in the link which you were nice enough to provide.
    I have also tried removing photos from my iPad2 Photos App, and "iTunes has stopped working" shows up  again as soon as I click on the "Synch photos from" button.

  • Please help - multiple IOS devices, Apple ID's and synching

    I have an iPhone and an iPad Mini that belong to me.  Two of my kids have iPod Touch and soon a third will have one.  So there are multiple iOS devices in the family, two of which are used only by me.  Up to this point I've been managing them on one laptop running one iTunes library.  I've made various playlists for the kids music, and I gave them each the specific games they wanted, and I put the games I wanted on my devices....certain games for the iPhone and larger, more involved games for the iPad Mini.  I don't put music on the iPad because I only use music on my iPhone.  So all 4 devices have a different selection of games, apps, and music on them.  I've purchased everything with one apple ID....mine, and set each device up with it. Only I know the password so if one of the kids wants something, they still have to bring their device to me so I can put the password in for that purchase.
    What I'd like to do is separate my kids apple ID's from mine.  This way, they can use their apple ID's to sign up for other services, have their own saved game data in the cloud, etc.  I'm running into situations where my son and I play the same game, but we keep overwriting each other's game progress because it's stored to my apple ID.  But I still want to be able to control their purchasing, so I figured I'd have to attach my credit card to their new ID's as well, but just not give them the password, so they still will have to come to me to punch in the password to download something.  But hopefully with this new setup, they'll have their own saved game progress that won't interfere with mine, even if we play some of the same games. 
    But how will this work if we synch them off my laptop?  I don't want to get into creating separate libraries or anything like that, and I'd still like to be able to download some apps using iTunes and put them on the devices manually if I need to. 
    What is your recommendation on how to handle this???  How will it work exactly?

    You can do anything you want with one iTunes, but:
    Devices names must be different.
    Don't sync anything under "Info" tab like Contacts Calendars etc. These info must be synced over iCloud. (Use a different Apple ID for each device)
    Use the Same Apple ID for iTunes and App Stores settings in all iOS devices.
    Message was edited by: cheonweb

  • My family uses a single lap-top as our main internet connection and when we synch our respective I-pods, our I-tunes account seems to wipe-out our playlists, even though we have tried to create separate I-tune accounts.  Help!!

    My family uses a single lap-top as our home computer and several of us have i-pods that we like to synch, using I-tunes.  Although we've tried to create separate I-tune accounts, our i-tunes playlists are getting wiped out when one of us deletes songs on our I-pod and it seems as though I-tunes is not distinguishing our distinct accounts and all i-pods are being synched to reflect the latest i-pod anyone makes on their respective account.  It appears as though our distinct I-tune accounts are not being loaded on our lap-top when we sign in and unfortunately, when we're in I-tunes, there is nothing to indicate what account is on the screen.  For all the glowing appraisals apple-related products usually receive, we are finding i-tunes and its interface with our respective i-pods to be a very, very frustrating experience. 
    Can anyone shed some light on this for a family of non-techies?  Thx 
    Pegger64  

    You need to create separate Windows user accounts if you want to seperate the behaviour of iTunes for each user. That also means separate iTunes libraries for each user.
    Windows is a multi-user operating system but you are not using it properly. iTunes is not a multi-user application. No application is. You can't expect it to treat different users differently when they are all using the same computer user account.
    Do you understand what I mean?

  • Synching To Do in iCAL with my iPod touch

    I enter To Do items in iCAL. They seem to appear automatically in a folder called To Do under Reminders in Mail.
    However, I have not found a way to get the To Do items to appear on my iPod.
    If this cannot be done by simply synching either iCal or Mail with my iPod, is there any app which can be recommended that will allow me to enter To Do items on the mac and have them appear on the iPod?

    If ou turned on Settings > iCloud > Find My before it was lost, login to our iCloud account, click Find My Phone and see if it shows up.
    To show Find My must have been turned on, it must be powered p, and it must be connected to the Internet.  Without all of those you will not be able to find it.

  • Unable to synch my PC and iPad2 using iTunes 10.6.1

    I downloaded iTunes 10.6, enabled HomeSharing, turned off-and-on my iPad2 after closing all Apps, and despite my iPad2 enabled for WiFi synch, the device did not show up in iTunes
    (ii) So, I connected via USB to the PC, and synch went fine until step 4 of 4 - and in this final step, iTunes just stopped synch and went back to its normal self like nothing happened
    (iii) I then wiped my iPad2 clean, restored from scratch via  iCloud and re-did all of the above - still no luck
    Thinking that Apple SW is perfect (like everything else Apple-related), and disappointed that perhaps there was something wrong with my Settings or a bug introduced when I upgraded to iOS5.1, I gave up...until I saw the headlines yesterday that iTunes 10.6.1 was available, with amongst other things, a specific bug fix for issues having to do with  photo synch to iPad.
    Eager to try this...
    (iv) I then uninstalled iTunes 10.6, dowloaded & installed iTunes 10.6.1, & enabled Home Sharing
    (v) Progress .....my device showed up as soon as I was connected to the power source as it should have (but didnt with iTunes 10.6) since I have WiFi synch enabled
    (vi) I then proceeded with (i) to (iii) above...same issue, all is well until step 4 of 4, while downloading the photos to my iPad2, it suddenly quits and goes back to minding its own business.
    PLEASE HELP !!!

    Me neither... :-(
    https://discussions.apple.com/message/18083159#18083159
    Definitely there is something wrong on iTunes 10.6.x series.

  • Can't synch Photos to Ipod Touch or Apple TV?

    Recently, when when doing a synch of my ipod touch or apple tv I get an error message that reads: "The iPod...cannot be synched. The disk could not be read from or written to."
    I have no idea why this has suddenly started happening. Can anyone help?

    Have you tried the suggestion here:
    http://support.apple.com/kb/HT1207
    ('Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod)

  • After purchasing songs at the itunes store, ipod touch will no longer synch with the itunes library at all. Also a lock symbol is now on the ipod touch. How do I fix this

    After purchasing songs at the itunes store,  my ipod touch will no longer synch with the itunes library at all. It won't send the purchases to the device and it won't synch any other music to the device. Also a lock symbol is now displayed at the top of the ipod touch. How do I fix this.
    This was the first purchase I made.

    Are you following these instructions?
    iTunes: Syncing media content to iOS devices and iPod
    Where is the lock icon on the screen?

  • I can no longer synch music library and audio books, it says can only be synched with one of the libraries, anyone else had this?

    i had to reboot my laptop, so reloaded itunes sofware, im now finding that when i'm synching my Iphone to synch audio books ive downloaded, , it says its synched with another itunes library ( my music) do i want to erase this iphone and lsynch with this iphone library, the music percentage at the bottom reduces to 0% in prep to erase.
    anyone else got this problem?
    Lee

    try a new/fresh apple brand cable and make sure it is the only usb cable in use. this worked for me, i noticed i had no problem with a lighting cable. i did a restore from scratch and from backup and it did not help me...and if you cant sync than you wont be able to get anything but apps back after the restore

  • Iphone is no longer detected on itunes/computer it is synched with.

    One of my Iphones is no longer detected by the itunes/computer that it is synched with.  The computer/itunes does detect other devices.  The iphone in question is able to be detected on another computer/itunes.
    I updated software oof iphone on another computer.  I updated itunes on the computer that does not detect the phone.  I rebooted both.  I tried software conflict.
    Does anyone have an idea how to resolve?  I have all of my contacts, apps, photos, music etc on that computer. 
    When I updated phone software on another computer to see if that was the problem it wiped out all music,apps, photos etc on the phone.  I have thee devices with one apple id and they are synched to different computers. 

    You should try another USB cable, charging and sending data through the cable is not completely the same, sending data is using other contacts inside the plug or docking connector.

  • Playlist selected for synching no longer exists - can't synch ipod

    I just installed itune yesterday. Not sure why this error has popped up, but after getting all my music into the itunes folder, there is no longer anything on the ipod itslef, adn I receive this error message.
    How can I reset the ipod to synch without the playlist it is looking for? As far as I know, I don't have any playlists other than the pretitled ones. I was unable to locate anythinbg in the settings to find out anything about synched playlists. thanks

    This may resolve your problem.
    http://discussions.apple.com/thread.jspa?messageID=607312&#607312

  • Ipod Classic No Longer Synchs after Itunes Moved to New Computer

    I successfully restored my itunes from old computer to external hard drive to new computer.  Then I tried to sync iPod Classic 80 GB, but was told I couldn't synch it to new computer.  So I restored Ipod to factory settings and tried synching again.  It put on just a handful of songs I never heard of.  Meanwhile my 10,000 or so songs iin iTunes on my computer did not make it to my iPod.  How to get the itunes over to my now freshly restored iPod?

    Please be patient, sync issues are time consuming, if you are lucky, just a Hard Rest and Restore will solved it.
    Ok Software Version 1.1.2.
    So you can see all your 10,000 songs, in the new PC iTunes, and do you have any problem syncing the iPod using iTunes 10.5.3.3 on the old computer?
    Can you do a Hard Reset  as below
    After charging till full charge, at least 2 hours (preferably 4 hours)
    Toggle the Hold switch, make sure you dont see the red mark when you do the  next step
    Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs till the Apple Logo comes ON
    Then release the buttons
    Select your preferred language.
    Here is the Apple support Article on the 5Rs
    http://www.apple.com/support/ipod/five_rs/classic/
    On your iTunes please reset alert warnings, so that we can see the errors.
    http://support.apple.com/kb/HT2527?viewlocale=en_US
    We need to see what problems iTunes is having
    Then connect your iPod to the new PC and sync again.
    Have a nice day!

  • Ipod Nano error message when trying to synch

    Im having problems with my ipod nano it keeps giving me the error "The ipod cannot be synched.The required folder cannot be found" Also gives me "some of the items in the itunes library were not copied to the ipod because one or more errors occurred"
    Ive tried reseting the ipod on and off the usb cord,also tried restoring the factory settings with no joy, tried uninstalling itunes and reinstalling with no joy. It starts synching gets so many songs then gives me the error messages and when i check the ipod no songs are on it! Any one else having this issue and if so did you and how did you resolve it!! really regretting buyin this right now lol help please.

    I too cannot sync my iPod. I get the message "Unknown Error 13019." What the heck does this mean? Can anyone assist or provide guidance?

  • Synching iphone/contacts & macbook/address book no longer works

    I've had an iphone 3G and macbook pro for about 2 years and until now they've synched just fine. Today I cleaned up my address book on the mac (eliminated some duplicates, added, renamed, and deleted groups, updated individuals' information) and then synched my iphone with my mac using itunes. (I don't have a mobileme account.)
    A few of the changes I made to address book (e.g., new contacts) were updated in contacts on the iphone, but most were not. It didn't update changes to existing contacts and the groups were not changed. Updates to ical and safari bookmarks were synched just fine.
    Here are the things I've tried without success:
    1. In itunes info tab, under address book I selected "all contacts," deselected all other updates (ical, etc.) except address book, and then synched.
    2. Same as above, PLUS in the advanced section, under "replace information on this phone" I selected contacts. then I synched.
    3. Same as #1 above, except instead of "all contacts" I selected "selected groups" and checked all the groups listed, and then synched.
    4. I rebooted the macbook and repeated the steps above.
    5. I opened isync and selected "reset sync history." then I repeated steps 1 and 2 above.
    I also tested making a change to a contact on the iphone to see if the change was made on the mac. It was not.
    About 2 months ago I upgraded to snow leopard. It's possible this problem has been going on since then, and I just didn't notice until today when I made all the changes to address book.
    I don't know what to try next. Please help.

    status update -- I tried a lot of other things but finally solved the problem after I removed all the groups from mac address book. (thank-you to my son Ben)
    FYI -- along the way I tried doing the reset sync history, which deleted all contacts from the iphone. I initially thought that was a good thing, until I discovered that nothing I tried after that would put the contacts back on the iphone. Next I restored factory settings on the iphone and set up as a new user, but that didn't work either. Or maybe it did; maybe deleting the groups wouldn't have solved the problem if I hadn't deleted all contacts and reset the iphone first.

Maybe you are looking for

  • Is there an app to create, save, edit and view Microsoft Office Documents on the iPad2?

    I am currently enrolled in online classes and I have to have Microsoft Office to access Word, Excel, Powerpoint for the classes. I have a laptop and an iPad2 but do not have Microsoft Office on either. Rather than purchase it on windows, I wanted to

  • Error message  - and iTunes will not play anything at all

    After scouring forums for similar issues, I have tried a complete uninstall and reinstall of iTunes with MacAfee firewall disabled. Nada. iTunes starts with an error message saying 'Configuration error, audio and video files may not play back correct

  • Dynamic calc problem while calculation another dynamic calc member

    I have 6 dimensions. Two of them are dense and are tagged as Accounts and Time. The dimension I am having problem with is called "Metrics". It was originally dense. But because the calc scripts were executing slowly, I decided to make "Metrics" a spa

  • HTMLLoader fires complete event too soon ?

    Hi to all, I have following problem i`m displaying pdf in a nativewindow (pdf is around 5 mb so i guess it takes some time to be rendered) I want to show user some custom progress bar until pdf is prepared to be shown in htmlLoader.The problem is tha

  • InDesign CC crashes upon opening 2010 & 2011 files.

    Every InDesign document that was created from January 27th, 2010 to December 21, 2011 caused InDesign CC to crash 100% of the time-tested it on two production computers with the same results. Every document that was created after January 1, 2012 open