Repeated and lost samples with NI-CAN

I am using LabVIEW 2009 SP1 with NI-CAN 2.7 and a series 2 CAN card on a PXI system running LabVIEW RT.
I sync'ed my DAQmx AI measurement with a NI-CAN task using the "CAN Sync Start with DAQmx". The Start is now sync'ed.
As for the samples, I created a test environment: A microcontroller sends a signal via CAN. The signal contains a value that is incremented by 1 with each new CAN message. My PXI measurement programm samples these CAN signal values alongside with DAQmx (5 KHz sample rate, reading 1000 CAN and DAQmx AI values in a while loop). The plot below shows, that sometimes the current value is not sampled, instead the last value is resampled up to 16 times, i. e. the value does stay the same as the last value where it should increment. I made sure, that the source of this effect is not the microcontroller using a third party CAN logging tool.
The picture below shows the CAN init procedure:
Does anyone know why I get these repeated CAN signal values?

I ran a new measurement for approx. 2 minutes and got 2 independent measurement data files:
the attached VI from above was slightly changed, so that the check loop now saves all received CAN data to a file
I started Vector CANalyzer on a separate Laptop that is also connected to the CAN wire, but only listening and logging in passive mode (i. e. no ACK is send so that there is no interference with the ongoing communication between PXI and the sending microcontroller)
I attached both measurement files in CSV format. You will see, that the timestamp dt from CANalyzer does not show any message holes. As for the PXI, I see ~5x repeating values.
Note: The CANalyzer timestamps are given in 10 us units. The PXI data just contains the incremented signal without timestamps.
Attachments:
testcan_measurement_data.zip ‏4167 KB

Similar Messages

  • I set my cRIO from 'DHCP' to 'link local' and lost contact with it.

    I set my cRIO from 'DHCP' to 'link local' and lost contact with it.
     I changed the setting at the placed labeled "2" to link local only, then I think I hit save at "3".  Then poof, I had no network contact with my cRIO.  
    I tried;
        Hitting the reset button
        Opening a closing MAX
        Going to safe mode
        Throwing the Reset IP switch 
        Power cycling the cRIO
        Running cat 5 cable directly from the Host to my target
    None of it worked, and I have no contact with my cRIO.
    This is what MAX looks like now.  How can I fix this?
    Solved!
    Go to Solution.

    Make sure to disable the firewall on your computer.
    Otherwise you can check through the steps in this documentation:
    http://digital.ni.com/public.nsf/allkb/ABE4BC247E8​AC9BC8625734E005CAB42
    Note specifically that one option is to read the console out from the target VIA the serial port will a null modem cable during boot and it will indicate what IP the system is using.
    Craig H. | CLA | Systems Engineer | National Instruments

  • HT5661 i switched my iPhone for an android and now people with iPhones can't message me! How do i stop iMessage?

    i switched my iPhone for an android and now people with iPhones can't message me! How do i stop iMessage so i can get text from iphone users??

    This link will tell you how to fix....
    http://www.techrepublic.com/article/how-to-keep-receiving-sms-from-iphone-users- after-making-the-switch-to-android/

  • I was using itunes to back up my iphone and lost my phone. Can I get my contacts from itunes?

    I was using itunes to back up my iphone and lost my phone. Can I get my contacts from itunes?

    There are a couple of iOS Backup Extractor programs that can read data from the backup sets. I've not personally tested any so I don't have a recommendation.
    tt2

  • I connected my iphone for the first time to itunes and lost everything. How can I recover my data?

    I connected my iphone for the first time to my itunes. It didnt have any backup or anything saved on icloud. As soon as i plugged it in, on itunes it asked if I wanted to restore, or backup, my ipod to my iphone or something (I dont remember) and I clicked yes. I thought that it was syncing music, and apps that i had on my ipod but instead it made my iPhone 4s into a copy of my ipod touch from the last time i synced my ipod (august 2012) now i have lost all of my contacts, pictures, messages, calls, emails and everything else I had on my iphone... is there any way that I can recover anything and get it how it used to be before all of this happened? i did not save anything on the computer or on itunes backup...

    Sorry saker, but if you have not backed up your data anywhere, and you told the computer, in essence to clear the data and restore it with your iPod data, then you are pretty much out of luck....
    Cheers,
    GB

  • I had to re-install my OS and lost iWork. How can I re-install it? It's not showing up in iTunes.

    I had to re-install my operating system and I lost iwork. How can I re-install it?
    I've gone to itunes and it's not there.

    If you got it from the Mac App Store, sign in to it with the Apple ID you used to buy it and click on the Purchases tab.
    If you got it from an iWork DVD, reinstall it from that DVD.
    (83033)

  • Searching service and Lost the IMEI number, Can not delete icloud account

    I have the problem with my new iphone 5s which is used in 3days, It no service and just searching the service very long time, and it still no service. Moreover I can not remove my Icloud account and lost the IMEI number too. I really don't understand about this case becasue it's the new iphone.
    Please kindly to help me solve the problem.

    did you activate the phone already?
    Have you contacted your phone carrier to notify them about your cellular data issue.

  • I synced my iphone too my computer and I got all my husbands info and lost all mine how can I get my info back.

    I synced my iphone too my laptop and got all my husbands info and lost mine how can I get my info back off this laptop.

    hi marie i take you have got your own apple registration, if not you need toregister under your own name & password, if you have then it does sound like you've just plugged it in under your husbands name. lori :-)

  • Upgraded my i phone to os8 thru i tunes and lost my contacts how can I find them

    I upgraded my iphone 4s to IOS8 and lost my contacts.  How can I find them?

    There are two likely answers:
    1.  Your iPhone has too much storage being used.  Check Settings > General > Usage and make sure you have a reasonable amount of free storage left (roughly 15% of your total storage minimum).
    2.  If (1) is not the issue, then tell us what account used to house your contacts (e.g., iCloud).  You would need to make sure that same account is set up correctly on your iPhone right now.

  • I've update my phone and lost music.  How can I get them back on my phone

    I updated my phone and lost my apps and music.  Now even when I sync they aren't going back on.  How do I get them back onto my phone?

    go to ITUNES on your phone, select MORE, PURCHASED, MUSIC
    Then you should be able to download them again

  • Updated to 8.0.1 today and lost samples...

    What happened? Got an update to Logic Express 8 to 8.0.1
    Then when I opened up the song I was working on, my Upright Jazz Bass was missing from EXS24 menu. Then I noticed my Classical Guitar also went missing.
    Then, I realized all the Garageband samples were gone! I saved the track, closed out Logic and I restarted the computer since I had updated Logic (BTW: it never prompted me to "restart" after it had updated to 8.0.1)
    Now, the Logic software takes forever to boot up and the samples are still AWOL. I went ahead and tried to see if I could find the Garageband samples within the Logic Express 8 software upgrade DVD. It doesn't let you do a "custom install", so I tried to re-install L.E. 8 and it would stall and say the were errors, "please try again". Well, it doesn't get past the same spot (Logic Core something-or-other/ 10 minute mark)...
    What should my next step consist of? I want those Garageband samples back...I NEED THEM!!!
    Many thanks in advance for any help and Merry Christmas to everyone out there!! -- Andy

    Well... the answer for me was to completely restore my Mac from the OS system disk. That *****. I'm really concerned about the update. I'm no longer going to download any Logic updates without checking this forum first. Never had to do that in the past, but I cannot afford to spend an entire day reinstalling software either! This never happened to me when I ran D.P. I trust Apple however, that trust comes into question now...

  • I purchased and downloaded a full album on itunes today, when i got home i updated my phone and lost it all, how can i get this music back without paying for it again

    Today while driving home from vacation i purchased and downloaded the new Nichleback CD, when i got home, i plugged my phone into my computer to update everything and it pulled up a message saying something like "this computer has recognized an iPhone that is in memory update, you will need to restore the phone" or something similar to that, it had a picture of the power cord plugging into iTunes on the screen and i couldn't get rid of it, so i had to plug it in and restore everything, when it was done i noticed that not only did i loose the new CD that i had just purchased today but i lost all of the music that i've purchased since the last update. How can i restore this music without purchasing it all again?

    Media should be included with the backup of the computer that all users should be creating on a regular basis as part of basic computer/data maintenance.
    In the event that you do not have a backup (stop being lazy.... keep backups of YOUR data and other important files)
    If you are in the US and running iTunes 10.3 or later, it is possible to redownload music via iCloud from purchased history.
    If you are not in the US or for some reason cannot run iTunes 10.3 or later, contact iTunes customer support and ask very nicely for the opportunity to redownload the content.  They are not required to provide this opportunity.
    It is also possible to transfer content from an iDevice that was purchased via iTunes.  On the new computer, sign into the iTunes account, authorize the computer, connect the device then select File > Transfer Purchases.
    The simplest method of all is to transfer or copy the media (and other important files) from the old computer or the backup of the old computer.  Typing "move itunes library" into the search bar here or into google will reveal step by step instructions on how to do this.

  • I updated my iPad 2 to iOS 7.06 and iTunes couldn't connect. Had to revert to factory settings. Can't install many apps and lost data. What can I do?

    When I selected to update the OS on my iPad 2, it wouldn't connect with iTunes, and I had no choice other than to revert to factory settings, losing all my data, apps etc. Everything. I knew that would happen, but also that everything was backed up on iCloud.
    However, when I thought I had set up my ipad again, I found none of my documents, pdf files, songs, notes, some items on my calendar, and a bunch of other stuff had gone.
    If it's on iCloud, why can't I get it back?
    And has anyone got a brillaint solution?
    I noticed a few others have had the same issue.
    And I need the lost documents for  my work with clients. My next client starts on Monday and some of his material is now lost. I am unable to open it on my iMac, as I have a newer update of Pages on my ipad. So most of these missing documents, while on my imac via icloud, are inaccessible.
    HELP!!!!

    Also my drop box is empty. A much bigger problem...

  • I just did iPhone restore and lost everything...can I get it back? old iPhone

    HELP!!!!! I just lost all the info on my Dad's iPhone. system restore erased everything. Since it is an unlocked phone, I don't know what to do.
    My Dad has a really old version of the iPhone. It was unlocked for use with Tmobile. Because of this, he has never updated or synced anything, for fear of losing his contacts. We just bought him a new laptop for father's day, and in my effort to sync his contacts to the computer our worst nightmare happened....we lost all of his contacts. I was updating the software and without me knowing it restored the system and erased everything. Now I can't open anything - only emergency calls. iTunes says the SMS card is not supported. I had backed up right before (but not sure if the contacts were backed up). Is there any way to get it back? If so, how?
    Any help is much appreciated!

    Well, erasing everything is what a restore will do. You mention that the device was unlocked and then you say that updating it gives you the message the SIM (not SMS) is not supported. This is indicative of a device that was jailbroken or hacked to be unlocked, and your updating it has locked it back to the original carrier it is locked to.
    If the device was backed up, you should have a backup to restore to, however if you have locked it back to the original carrier, the only way to activate the phone again is with one of their SIM cards, or ask them if you qualify to unlocked the device. Only the carrier the device was locked to can authorize an unlock.
    If the phone was jailbroken, then you cannot get any further assistance per the forum rules. Good luck.

  • I scratch the itunes gift card too hard and lost the number how can i get it now

    I got a gift card and i scratch the number so hard i lost the sticker with the number. How can i get.

    iTunes Store: Invalid, inactive, or illegible codes

Maybe you are looking for

  • Link to report an issue with Podcast update

    Someone posted a link so we could report an issue with the Podcast app the last time there were issues with an upgrade. I sync with my laptop iTunes. Since this latest update to the app, when I delete a podcast in iTunes on my laptop it will not dele

  • Error Loading Data into a flat file

    I am recieving the following error when loading data into a flat file from a flat file. SQL 2005 is my back end DB. If I cut the file iin half approx 500K rows my ODI interface works fine. Not sure what to look at.. I rebuit the interface which befor

  • Pages to epub...pfft...over!

    Working with Pages on iMac. Tried ePub--exported file to iTunes Books. Connected iPad. Everything OK, save Chapters. They are all connected, i.e., no breaks despite having cleanly placed Section Breaks at end of each Ch. How does one command each Ch

  • Soap lookup

    Dear experts,              The scenario is file to file with a soap lookup. certain records are inserted using lookup in mapping. The records which can not be inserted, along with the error code from the webservice response has to be sent to a databa

  • Can't send mail after update to 5.0.1

    After updating to 5.0.1, I can no longer send composed mail or respond with a reply. Works fine if I go out of mail, open AOL from safari. When I try to send from mail, a box opens stating message sent to outbox as respondant does not allow relays. A