POUVEZ synchronization problems

Hi all

I'm working on a project to control an industrial player on CAN (CAN be opened to be precise).  I am trying to send and receive messages at regular intervals of 100 Hz.  To do this, I used at the same time while loops (after initialization of CDN); We write CAN messages by using the "ncWriteNetMulti.vi", writing of a table of four messages, the other loop checks and reads the messages using the 'ncGetAttributes' and 'ncReadNetMulti.vi '.  The program also includes a Structure of the event in a separate loop, in order to manage interactions with the user interface.

My problem is that the timing of the message send loop seems to be a bit spotty, I put the operation of the loop using a "wait until the next ms Multiple.vi" to 10 ms.  However when I analyze the messages that are sent on the bus CAN it seems to be a certain interval between messages; Variant of 7-13th month mainly, however there a bit with separation of 18 to 25 DC between messages. These large differences between messages usually cause communications in the car to fail.

If I understand this thread: http://digital.ni.com/public.nsf/allkb/859DA6BB71B8A84F86256B3A0071141C?OpenDocument LabVIEW calendar is +/-1ms when running on XP (as I am).  I have a few theories (possibly clutching at straws) as to why the time is so loose, but like some comments on the points of whether experts if they are valid, or there is something wrong.

  1. The laptop I am using has an encrypted hard drive.  This of course slows down reading / writing to the HARD disk, but I expect the program to be loaded in memory when running and thus not be performed there during the execution. Fair supported?  (I'm also trying to 'acquire' a computer unencrypted to rule out / in this theory).
  2. The specifications of the laptop is too low for what is asked offshore.  I killed all unnecessary programs that are running to try to accelerate, but not had much success.  The CPU is usually<10% capacity="" (according="" to="" the="" task="" manager="" window)="" so="" doubt="" its="" not="" up="" to="" the="" job. (with="" the="" unencrypted="" laptop="" i'll="" also="" get="" a="" clean="" install="" of="" xp="" so="" should="" remove="" any="">
  3. My assumption that LabVIEW can run +/-1ms is Wrong.  Again, this is supported by OR above... So I think little likely.
  4. My programming technique is poor leading to the execution of the loop by taking more than 10 ms.  I didn't think my programming was THAT bad, however all comments to improve my coding techniques are more than welcome.
  5. Also built a version the program exe to see if this improves performance.  It does not seem to do anything noticeable.

All comments appreciated, code attached below.

Thanks in advance.

Mark

OR LabVIEW 2010 Full Development System

I think the problem is that you have need of determinism and not necessarily accurate.  The Windows timer component will be happily relax a tick count that is accurate to within 1ms, but it is not apply calendar deterministic loop.

If you really need of determinism, I think you have to go with RT if you must stay with XP, you might consider using a timed loop structure and use some sort of an error handler for once the loop completed later.

Another option would be to set up periodic messages that use the hardware timing instead of timing SW.  I know you can do this with NOR-XNET but am not in favour of NI-CAN.

Tags: NI Software

Similar Questions

  • iPod connection and synchronization problems classic160GB

    I have a well taken in charge iPod classic 160GB. Worked perfectly until...

    Since the upgrade to the latest OS (iMac), I've been prone to random error when updating of my music. Essentially (1) the device is still connected and there is no apparent way to perform a good ejection process (2) and synchronization fails after many hours and don't care only about 100 songs.

    Thus, it seems that the iPod is ok mechanically. I have reset the device and formatted the HARD drive. This allowed then the synchronization process works correctly. Yesterday I downloaded the songs on the iTunes store and wanted on the iPod - same problems error has occurred.

    Would it not make sense to go back to an earlier version of the operating system? and iTunes? (same iTunes appears unstable now...)

    I see that this timing issue is quite common with this unit holders and it seems to be common, because support was arrested for this camera - I'd be cynical? Why isn't Apple in the face of what it comes to very bad reputation management - total contempt for Affairs of its user base?

    I always use what is apparently a good piece of hardware, but I'm extremely frustrated as a user. Any body found the corrective action? If so, what is it?

    LAST: I left Apple and bought a Sony HD camera. Why? as a result of these frustrations. I'm now evaluate whether to consider other Apple devices that are close to replacement (viz, Ipad, MacBook Pro (17 "), iMAc) with non-Apple devices. This is how frustrated and I'm in a bad mood.

    Please, if you know a solution, I am very willing to try that.

    Problems with synchronization is often caused by a hard drive which becomes unreliable.  Hard drives are mechanical and ends by fail, computers and iPods.  I have much older iPods (4th gen, 3rd generation and iPod mini) that are more than 10 years at this point.  They still work perfectly fine with the latest version of OS X and iTunes.  I replaced the fragile hard drives in three of these iPods with Compact Flash card or an SD card on an adapter.  For the 5th generation and later iPods, you can look here for more information

    https://www.iFlash.xyz/

    I see that this synchronization problem is quite common with this unit-holders...

    It's not just 'common good' considering there are millions of iPods (with storage on hard disk) still serving there.  However, if you see more cases of these days, the reason is obvious.  They age, on average.  The iPod classic model was released back in 2007.  Old things tend to start fault for various reasons, including defective hard drive.

  • Does space empty between the video clips a synchronization problem in first?

    In the past, when I wanted a second or two of black space between video clips, I just leave the empty space, which fell to black on each side of the gap.

    Can only cause audio/video sync issues? Can I actually save some black frames and fill these gaps?

    I just loaded a video on Youtube, and it gives me an error message I could have synchronization problems.

    Thank you

    Leonardo

    From my experience, empty spaces will not cause any problem whatsoever.  Done it for more than a decade in every version of Premiere Pro.

  • Pinch and Zoom - synchronization problem

    Hello

    Since v25, iPad Apps have a pinch and Zoom synchronization problem. If hitting swipe to a page, you cannot directly Pinch & zoom, using the two finger gestures. Firstly, it must wait 1 to 2 seconds (whats darn long) until you can zoom. Even if the PDF page is fully loaded (already sharp/readable).

    On some pages that do not have something different than the other pages, you must first zoom out, before zooming in works.

    Very strange problem. Someone at alse noticed the same thing?

    I'm using the latest tools of InDesign CS5.5 v25.

    Kind regards

    Yves

    We have seen problems with pinch and zoom on v25. It is not so much a timing problem that the gesture is very sensitive to how far your fingers are when you start pinching. We turn to her with a fix in v26.

    Neil

  • IPod synchronization problems

    So never had a problem in the past, but I try to sync the albums selected on my ipod, I sort iTunes plug in select the albums that I want and click on synchronize.

    It is synchronization of the songs for about 1 min then saying its full but when I go on my ipod, some albums are available, others are but fade entirely grey or one or two songs available. The greyed out are only available online.

    Also the cover of the album is not synchronized on albums which they already have.

    Also tried sync any library where before it took all night en to synchronize its saying its done in like 1 min.

    Very very frustrating because I have a slight OCD with it!

    Thanks again

    I have wiped all the music on my ipod and I'll wait to see if anyone can help.

    Try:

    -Reset the device iOS. Nothing will be lost

    Device iOS Reset: Hold down the On / Off button and the Home button at the same time for to

    ten seconds, until the Apple logo appears.

    Unsync/delete all the music and Resync

    To remove all music go to settings > general > use > storage > storage management > music > tap Edit in the top-right, then press the sign less than all music

    -Reset all settings

    Go to settings > general > Reset and tap reset all settings.

    All your preferences and settings are reset. Information (such as your contacts and calendars) and media (such as songs and videos) are not affected.

    -Restore from backup. See:

    Restore your device from an iCloud or iTunes backup - Apple Support

    https://support.Apple.com/en-us/HT204184

    -Restore factory settings/new iOS device.

  • Synchronization problems

    I am running windows 10, iTunes on a laptop Dell Inspiron 12.4.3.

    My problem is with one of my devices with iTunes sync.

    The Ipod is running IOS 6.1.6

    When I check manually manage music & checked synch only of songs, it synchronizes only the recently added songs (i.e. only 55 songs added the other day) and does not add that other albums checked.

    The IPhone is running 9.3.4

    When I check manually manage music & checked synch only of songs, it synchronizes only the recently added songs (i.e. only 55 songs added the other day) and does not add that other albums checked.

    I suspect that the problem is that you try to manually manage music and synchronization. You can't do both, you will need to take one or the other. If you want to synchronize, and then set all your sync settings. If you want to manually manage music, then you click and drag the music from the library to the device and don't have any setting to synchronize music.

  • iCloud bookmark synchronization problem...

    My favorite is synchronized between 2 MacBooks and iPhones 2 (of which 1 is used only via wifi)

    Recently bookmarked is not properly synchronized without apparent reason.

    Symptom:

    1 one of form 'bar' favorite items - let's call it "Site X" - changes its position to become the first ⌘ + 1

    2 "site X" can not be deleted or changed in any case.

    3. I tried to remove bookmark.plist in the library folder and then synchronize. The result is that only "Site X" stays on the bookmarks bar.

    4. only after this, you can remove or change "Site X"-, but this dose not sync between devices.

    5 bibliography and other items on the bookmarks folder cannot be added or removed. They do not synchronize either.

    6. all other iCloud products works well. This includes Safari same transfer between devices.

    I don't mind total delete existing bookmarks but want to recover the ability to sync between devices.

    Thanks in advance.

    I have the same problem. I can't organize or remove the bookmark on the MacBook Air 11 (OS X 10.11.3) & 5s (iOS 9.2.1). iPhone On iPhone 4 (iOS 7.1.2) everything works fine. Called support, they said wait should be quickly corrected.

  • LTE application: Signal PSS and EU synchronization problem


    Just as I suspected, samples received on the receiver side are only cross correlated with the PSS sequence (PCI mod 3) = 0, this is the reason why the synchronization does not work when the eNB transmits with a (PCI mod 3) 0. The PSS sequence (PCI mod 3) = 0 is integrated as a time fixed signal of the domain in the FIR filters although (the two who treats I and rated a Q of the received signal handling complex). To change this and to implement a different sequence of PSS, should open the basic FIR blocks Xilinx generator and change the sequence.

    I got some guys from support LabVIEW Communication an updated version of the "LTE Cross Correlation.gcdl" function that implements a selective control for the value (PCI mod 3) and seems to change the PSS sequence within blocks of FIR. I post here if someone has the same problem. Although I have not tried myself yet.

  • Windows Movie Maker audio/video synchronization problems

    I am changing a video on Windows Movie Maker (5.1), and when I cut a piece of the file clip and trimmed other part beside him, some delay seconds started with the change. Only, it starts at one point and continued for the rest of the video. I need to solve this problem, and I'm terrible with computers. Can someone help me sort whatsoever?

    It would be a massive help!

    Something to try...

    For the timeline... trying to drag a second instance
    video on the audio / music.

    Right click / Mute the Audio track.

    You can drag the file to the audio / music
    left or right then maybe you can synchronize audio
    with the video.

  • Memory internal &amp; external synchronization problems

    I'm a few problems of synchronization of internal and external memory - it will sync perfectly with the internal memory, but then used to synchronize the rest of the songs to my micro SD card, I have had worked in the past, but do not remember what I actually did, when I have external sync that he's trying to just put all the songs once again. Pointers?

    Kane wrote:

    I'm a few problems of synchronization of internal and external memory - it will sync perfectly with the internal memory, but then used to synchronize the rest of the songs to my micro SD card, I have had worked in the past, but do not remember what I actually did, when I have external sync that he's trying to just put all the songs once again. Pointers?

    Do not use automatic synchronization. Choose for yourself what songs to put and where to put them.

  • Windows Mobile Device Center synchronization problem

    I recently developed a problem syncing my phone Windows Mobile 6.1 with Vista 64-bit Home Premium WMDC.  I would appreciate any idea or a reference to help me solve it.  I'll give you only a capsule summary chronological here to keep this short note.

    -There are synchronization three weeks was normal.  No change in system done other that what is described below.
    -Signed with the local provider (Comcast) for Exchange and Sharepoint hosting services.  They ran an installation script that changed by the Outlook 2007 adding the exchange server profile and who knows what else.
    -Phone sync is no longer with the PC; only with their Exchange Server.  They claim that they did nothing to make (their inventory of skills for Windows Mobile does not exist).  WMDC still sees the phone as a guest.
    -Spent the weeks then 2 + talk with Comcast level 3 troubleshooting, manufacturer (HTC) phone and cellular service provider (Sprint).  All to various help desk levels.  I spent a lot of time searching for answers on various blogs and other credible sites for answers.
    -Journal of phone calls said that the error is 0x8503001f which says that my profiles are out of sync.
    -One of these help professionals tells me its something to do with my user.sdf file.  This file is not present on my PC.
    -Sent in notice of cancellation to Comcast, which is still in the queue for processing.
    -Sprint technical support abandoned and sent me a replacement phone.
    -New phone has the same problem.  The problem is clearly with WMDC, file or a registry problem.  Utilities that I find on the internet for the problem works only with 32-bit operating system.
    -J' tried to uninstall and reinstall WMDC and the other fixes I found on TechNet and other Windows Mobile sites.  Nothing works.

    I'm not a developer, but I'm a power user who is used to run organizations, so I'll have intelligent conversations with these people.  They are perplexed and so I am.

    For the support of your manufacturer or your mobile operator, see the following link: http://www.microsoft.com/windowsmobile/en-us/help/more/mobile-operator-device-manufacturer-links.mspx

    Help the community forum of Windows Mobile to go to: http://social.microsoft.com/Forums/en-US/category/windowsmobile/

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • (FirePower 7010 and FireSight) synchronization problems

    Hello! I have some problems with the power of FIRE and fire show.
    I have error and I need help.
    I have error on the status of synchronization of time FIRESIGHT:Module: 192.168.10.10 is out-of-sync.
    I can say that time is the SAME show of fire and firepower. How can I solve a problem? Where can I see the logs? Thank you!!!

    Your police tells the module to use for NTP - your FireSIGHT or another NTP server?

    If FireSIGHT is on a virtual machine, it is recommended to use it as a NTP server for your managed devices.

  • BlackBerry Smartphones to BB Bold 9780 Outlook Contacts synchronization problem

    A few weeks ago, when I started to sync my Outlook Contacts to my BB, a message window pops up letting me know that RIM is no more using the same method to do.  Since then, I was unable to carry out a synchronization.

    When I start a synchronization, first of all, he said "Have information of the State of the BB address book" and reads all of the records quickly, then he said "Have information state of Outlook Contacts" and reads all of the records quickly. After that, he said 'get more information state of Outlook Contacts", but underneath, what is said"Card reading 1", then"read 2 records", etc as there are records.  She does very slowly, as it takes 20 minutes to read 50 records and I have 1900 records.

    I called T-Mobile, they couldn't help me.

    I uninstalled and reinstalled the desktop software.  I have updated the software of BB. None of these permits.

    Last night, I left my BB plugged to the computer at night to see if she would complement all.  In the morning, the BB Desktop Software had closed and the contacts were not properly synchronized.

    Help!  I need contacts on my phone.

    Hi - I'm the one who reported the problem at first.  I found the CD Moose comes with the phone and installed the old version 6.0 of the BB Desktop software.  My Outlook Contacts now synchronize very well, as they did before.  This seems to have solved the problem.  Maybe the other person with the same problem can do the same thing.  The other thread has a link to older versions of the software, but I hesitated to use because he said it was for Verizon and I have T-Mobile, but if I could not find my old CD, I would have given a trial.  I mention this just in case you do not have the CD.  Many thanks to those who helped and good luck to others with this issue.

  • BlackBerry storm smartphone synchronization problems

    Hello. I'm new to this forum. I just got the storm. I used to have the palm tx. When I open the bberry Desktop Manager and click on the device switch Wizard to synchronize my info from the Palm to the storm Office Manager, opens the window of the migration wizard. When I click Next, the window becomes "select desktop organizer", where I can choose the software to import from. But the options are not underlined, so I can't select the option of palm treo/Organizer. What's wrong?

    I know I have the Palm TX not the Treo, but I just want to download it from the desktop organizer that is the same for both. Both my Palm and the storm are connected to the computer and I have Windows XP Home Edition. My Palm Desktop Organizer is version 4.2, which is not on the list of the bberry Manager compatibility, but it is a later version, that shouldn't be a problem. Should I get a Treo (temporarily), synchronize it with my computer and then try to transfer the files to the storm? Or is the problem something else? Thank you.

    Hi and welcome to the forums!

    I think that your Palm 4.2 is not compatible. The last article is 12/8 and ignores the right 4.2

    Thank you

    Bifocals

    Don't forget to adjust your thread.

    Put the check mark in the green box containing your answer! Thank you

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB16291&sliceId=2&docTy...

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB04437&sliceId=SAL_Pub...

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB10722&sliceId=2&docTy...

  • 2 Smartphones blackBerry - RIM messages and synchronization problem problems

    Hi all

    I am to place charge of RIM building messages in my Inbox (on the device and portable computer) and they advise me not to move the delet etc. and that the server will process with them (which is clearly not)... what I would do.

    My pocket computer is set up (I think) on a personal account that we do not exchange server?

    Also, when I sync, the process is done up to now and at the stage where it is updated the calendar of the device, it's crashing / stopping... I don't get an error message code... just that it has encountered a problem and needs to close.

    Any advice?

    Thank you

    Take a look on the tanzim post for how to get rid of these messages

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=BlackBerryDeviceSoftware&message.ID=1...

    With regard to the Desktop Manager to crash, I would try two things

    1. Delete the intellisync folder, and then try to synchronize again - http://www.blackberry.com/btsc/KB11703
    2. perform a clean uninstall on the software, and then reinstall the software - http://www.blackberry.com/btsc/KB02206

Maybe you are looking for

  • IPhone 6 s more than panic. We suspended right here.

    iiPhone just 4 weeks and a foul Kernal and saying panic. We suspended right here. Have you tried hard to eat and also leave empty battery but message still returns. I don't have access to my PC to try anything through iTunes as I am on vacation overs

  • We Build wave error when make it executable

    Hi guys,. It is a long shot, since I don't have much to go off in addition to a very vague survey error. The Details area looks like this: Click on the link below to visit the Application Builder support page. Use the following as a reference: Error

  • Hotmail problem

    I have a hotmail account, * address email is removed from the privacy *, someone sends emails on my behalf to everyone on my contact list. It's an email to check a web site. What happened and how it stop?

  • Keyboard Bluetooth for blackBerry Smartphones

    I am looking to buy freedom for the BlackBerry Storm (www.freedominput.com) universal Bluetooth keyboard. Looks like you must have the administration rights of the BES for the keyboard works.  This could be due to the integration of keyboard option (

  • Memory card Micro SD blackBerry Smartphones

    I bought a 2 GB Micro SD card and cannot find any directions on how to install it.  Help!