CAN comms become unreliable when upgrading to P4 PC

I have moved from a 800 MHz Pentium 3 computer to a 2.8 GHz Pentium 4 system with a custom written instrument control application which uses a PCI CAN card.  On the original PC everything worked fine, but on the new PC, the communication is dropped after a period of time, which may vary from a few minutes to hours.  Diagnostics indicate that everything in the application is still operating as it should be.  The problem has occurred in 2 seperate hardware systems, with both the Series 1 and Series 2 cards, and with versions 1.6 and 2.2 of the NiCAN drivers, and with both Windows 2000 and XP.  I would be grateful if anyone could shed some light on this.  

Hi Paul,
When you upgraded your PC, the timing of your application has changed.
Most of the code runs faster now (and in case of a hyper-threaded
system possibly in independent threads) however, the timing of the CAN
bus as well as the execution speed of most of the NI-CAN functions has
not changed (as it depends on the PCI-CAN card).
One very typical example is this code snippet:
ncConfig()
ncOpen()
ncWrite()
ncClose()
One a somewhat slow system, this sends out a single CAN frame to the
CAN bus. However, on a faster system, nothing happens. Why? The ncWrite()
function completes when the data is transferred to the CAN card, NOT
when the CAN card is finished with sending the data. On a fast system,
the application sends the ncClose() command to the card, before it even
started to process the data from the ncWrite() call. An ncWaitForState(WriteSucess) after the ncWrite() call will fix this problem.
Aside from this particular problem, there might be other sections in your code that are sensitive to the execution speed.
If a review of the code does not unveil those problems, you could run
your application on the slower system and log all NI-CAN calls using NI
Spy. Then repeat the same on the faster system. The differences between
the two generated log files show which NI-CAN calls executed in a
different order (parallel tasks) or too fast back to back.
I hope this helps,
-B2k

Similar Messages

  • I can't find airplay when upgrade to mountain lion

    when I upgrade my Mac OS to Mountain Lion, I can't find the airplay option in the display menu under system preference, can anyone tell me how to set up the mirror imagine on my TV by using airplay?
    p.s. i have also upgrade my Apple TV into latest version.
    thanks

    AirPlay
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer).
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay

  • Why don't the ratings transfer when upgrading Lightroom to a new version? I no longer can sort using ratings--which took a lot of time to create.

    I have given many of my photos ratings, but the ratings don't come over when upgrading Lightroom to the newest version. Anything I can do to recreate my ratings?

    Press CTRL+SHIFT+DEL, change the top option to '''Everything '''and in the bottom menu, checkmark '''Cache '''(uncheck all the others). Then click '''Clear Now'''.
    Then go to '''Tools''' | '''Options '''| '''Advanced '''and in the Network tab | Offline Storage menu, click '''Clear Now'''.
    Then go to '''Tools '''| '''Options '''| '''Privacy''', click '''Show Cookies '''button and delete the cookies for lumosity.com.
    Then try again.

  • I lost my Visual Voicemail when upgrading to iphone 5. New phone was set up from itunes backup of iphone4 but my Mac tells me there is an iCloud back up of my phone prior to this date. Will my Vis Voicemail be on this and can I get it on my new phone?

    I lost my Visual Voicemail when upgrading to iphone 5. New phone was set up from itunes backup of iphone4 but my Mac tells me there is an iCloud back up of my phone prior to this date. Will my Vis Voicemail be on this and can I get it on my new phone?

    I see.  Apple's documentation on what is included in the iCloud backup doesn't explicitly say that it contains voicemails, but that doesn't mean it does not.  You would just have to try restoring the backup to find out. 
    To restore to your iCoud backup you have to start by erasing the phone.  Go to Settings>General>Reset and tap Erase All Content and Settings.  Then go through the setup screens on the phone and when given the option, choose Restore from iCloud backup.  You will then sign into your iCloud account, accept the terms and conditions, then choose the backup you wish to restore from.  To see an older backup, you may need to tap "Show older backups" (see image below).  Be sure your phone is connected to wifi and your charger as this may take some time to finish.
    If this does not recover your voicemails, you can check to see if you have an older iTunes backup that may contain them.  Available backups are shown in iTunes Preferences>Devices on the Backups list.
    If all else fails, you could try contacting your carrier.  Voicemail is a carrier feature and they may have an archive you could access.

  • How can I force an "invisible" object to become "visible" when a numeric value is entered?

    So I’m trying to force an “invisible” subform to switch to “visible” when a numeric value greater than or equal to 22 is input into a numeric field.
    I can’t get the following javascript code to work properly with any event. I’ve tried the change, calculate, validate, events and a few more to no avail. The only event that kind of works with the javascript code I’m using is the validate event. When I input the code into the validateevent, the invisible subform becomes visible when an amount equal to or greater than 22 is entered, but when ANY amount is input into this field, an error message pops up that says “NumericField4 validation failed” and the user has to click “Ok” to get rid of the pop up box.
    if (this.rawValue <= 22) {
            Approval23.presence = "hidden";
    if (this.rawValue >= 23) {
                Approval23.presence ="visible";
     Here’s a link to my .pdf: http://www.filedropper.com/salgovform
    The object field that the javascript code is contained in is called: NumericField4 (a.k.a. New Job Grade)
    The subform that I want to become visible when a number greater than 22 is input into NumericField4, is called Approval23.
    I’ve based the javascript code I used on information I gathered from the following thread and associated .pdf . . .
    Thread:
    http://forums.adobe.com/message/1982919
    PDF in thread with the javascript code:
    http://forums.adobe.com/servlet/JiveServlet/download/1981437-8059/Sample_SW.pdf
    I’m pretty sure I’m just missing one little thing that’s throwing everything off!
    Any help would be GREATLY appreciated.

    Hi,
    The following works in the exit event of the numeric field, where the language is set to JavaScript:
    if (this.rawValue <= 22) {
         Approval23.presence = "hidden";
    else {
         Approval23.presence = "visible";
    Here is your form: https://acrobat.com/#d=3gRNt6WBY2bE0K7en4CnSA
    Hope that helps,
    Niall

  • IPad freeze when upgrade ! What can i do ?

    iPad3 freeze when upgrade to 6.2.1 !
    What can i do ?

    Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/ht4097
    Note on Recovery Mode:
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • When upgrading to ios5 not all my pictures came back.  Now instead of Camera Roll it says progress-sync and every picture I have says saving and I can't send.  My albums are empty.  Help?

    When upgrading to ios5 none of my pictures came back to albums.  I don't have anything in albums, not even the camera roll albumn with pictures I have taken since.  I can get to the handful of pictures I have taken by going to camera, but it says "progress-sync" where it used to say camera roll.  Now every picture I take has a saving photo on it and it won't let me do anything like email it, etc.  It also is not showing up in albumns.  How do I fix this?  What happened? Help?

    I had a simialar problem with mine, but my Cameral Roll at least was there.  Hopefully you have been keeping a copy of your camera roll.  I back mine up to my PC every now and then.  If you did not, you might want to try a RESTORE to try to get back the Camera Roll.
    As for the other Picture sync,  I had to create a new directory on my PC and then resyng this NEW directory....BUT NOW I have TWO identical directories on my phone, which I am trying to resolve, but AT LEAST I can carry my sync photos around with me until I get one of the directories eliminated.
    Next time I WONT be so quick to jump on the next Apple OS update!

  • Ipad freezes when upgrading to 6.1.3. Can anyone help?

    ipad 3rd Gen freezes when upgrading to 6.1.3. I tried to reset it by holding down the Sleep button and the Home button together, but all I am getting is the Apple icon. I tried it several times. Can anyone help?

    You will need to plug your iPad in to a computer and restore via iTunes. Here are th instructions to restore your device as well as how to put in recovery mode, http://support.apple.com/kb/HT1808

  • Can't sign in when trying to install the Elements 13 upgrade.

    Purchased the upgrade fro PSE 12 to PSE 13, if has downloaded, when I try to install if asks me to sign in, it just stays thinking about signing in for ages and doesn't go any further.

    I've tried that and I still can't sign in when trying to install.   Although I can sign in when I go to the adobe website through Firefox without a problem, I'm having issues with Internet Explorer as it shows "can't display this page check that the website is correct", with certain websites eg: facebook, hotmail and my bank, so I don't know if this is an issue with signing in while trying to install.
    Would it have been better to have purchased the disk from a store and installed from that?  If so, how do I get a refund from Adobe for the download purchase?

  • Can I keep my ring tones when upgrading to iPhone 6?

    Can I keep the ring tones I have purchased when upgrading to iPhone 6? If so how do I do that?

    I see.  Apple's documentation on what is included in the iCloud backup doesn't explicitly say that it contains voicemails, but that doesn't mean it does not.  You would just have to try restoring the backup to find out. 
    To restore to your iCoud backup you have to start by erasing the phone.  Go to Settings>General>Reset and tap Erase All Content and Settings.  Then go through the setup screens on the phone and when given the option, choose Restore from iCloud backup.  You will then sign into your iCloud account, accept the terms and conditions, then choose the backup you wish to restore from.  To see an older backup, you may need to tap "Show older backups" (see image below).  Be sure your phone is connected to wifi and your charger as this may take some time to finish.
    If this does not recover your voicemails, you can check to see if you have an older iTunes backup that may contain them.  Available backups are shown in iTunes Preferences>Devices on the Backups list.
    If all else fails, you could try contacting your carrier.  Voicemail is a carrier feature and they may have an archive you could access.

  • Hi there , I have Ipad 2. just upgraded to OS 5.1 and now cant transfer any videos to it. videos already stored can be played but when i try to copy any new video, it says that the video cannot be played by Ipad.I have tried mp4, mov, m4v but nothing play

    hi there , I have Ipad 2. just upgraded to OS 5.1 and now cant transfer any videos to it. videos already stored can be played but when i try to copy any new video, it says that the video cannot be played by Ipad.I have tried mp4, mov, m4v but nothing plays.

    Log in to the Developer forum. You will find instructions on how to install the lastest beta. Your problem is the beta you have installed has expired. All of them did on October 5; you will find hundreds of threads discussing this. If you have a beta it is assumed that you will continue as a beta tester, so a simple update using iTunes will not work.
    If you no longer want to be a beta tester install the GM 7.0.2 by restoring from iTunes using DFU mode.

  • I have installed a new HD my G will R/W ok but I cannot get it to boot to this so I can remove old HD which is becoming unreliable intermittedly

    I have installed a new HD. my G5  will R/W ok but I cannot get it to boot from this HD so I can remove old HD which is becoming unreliable intermittedly
    I have installed system , and tried preferences but new disc does not show.

    What Format is it, & how did you put the OS on it? Cloned the other one, or used the Install Disc?
    Does it show as a boot choice if you hold the Option/alt key down at power up?

  • How i can have all my opened tab when upgrade my firefox?

    now i'm still using very old Firefox 3.6.12, and i want to upgrede it. I always using "save and quit" to my all opened tab when quit and not using bookmarks. total about 300+ tab opened.
    i already try upgrade once and all my tab is lost. and because of that i do system restore and reintall with old one again.
    how i can have all my opened tab when upgrade my firefox?
    sorry my english is mess....

    I do not think anything much has changed with the Firefox system restore files and how they are handled so it may be possible to keep these and use them after an upgrade in a new version of Firefox.
    It is '''very important that you backup the Firefox profile''' see
    *[[Back up and restore information in Firefox profiles]]
    If you do that you will be able to use the open tabs again. <br />(May need to reinstall Firefox 3.6 again possibly as an additional browser) <br />
    You must
    * Put that profiles somewhere safe. NOT in the Firefox profile or program path. Your Window's Desktop is ok as a safe place.
    *When needed. Only work with copies of those files. Keep the original files and folders safe.
    Upgrade to the latest Firefox. Because you are going up so far from 3.6 to 27 do this by installing the new Firefox 27. Do not try using each upgrade step from 3.6 to 27.
    Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    WARNING: Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <br />These cannot be recovered unless they have been backed up. <br />(That is why I asked that the profile was backed up FIRST)
    You may be surprised and find Firefox still has the old tabs once it is reinstalled.
    Post back with how you get on. We should be able to get access to the old tabs again.
    In future I suggest you do not try to rely on keeping 300 tabs open all the time without bookmarking them. You will at some stage probably lose some or all of these tabs, or their related states and history.
    Please in future
    * Backup your profile on a regular basis.
    **Once a week means you may only lose one week's open tabs.
    *Bookmark important open tabs.
    ** Bookmarks keep well.
    ** Open tabs do not keep well & may be lost.
    * If possible reduce the number of open tabs you use.

  • TS1702 I lost all my data when upgrading my iPad to iOs5.  App Store doesn't recognize that I already purchased pages.  What can I do other than repurchasing?

    I lost all my data when upgrading my iPad to iOs5.  App Store doesn't recognize that I already purchased pages.  What can I do other than repurchasing?

    It shows "You do not have any purchased apps available to download"  Can I show apple the credit card receipts for apps purchased from them?  How would I find any previous account login info?

  • HT5988 When upgrading my Mac from  OS X Snow Leopard, to OS X Mavericks, The installer displayed my parallel and my PC applications. How can i get them back?

    When upgrading my Mac from  OS X Snow Leopard, to OS X Mavericks, The installer displayed my parallel and my PC applications. How can i get them back?

    You either have to restore the Snow Leopard backup you made prior to installing Mavericks, or create a separate Snow Leopard partition to boot to in order to run your older PowerPC applications.
    Either that, or upgrade the apps which won't run in Mavericks to newer versions that do.

Maybe you are looking for

  • Software upgrade from 10.4.11 to 10.5 or higher

    Hi, Help- Please.  I can not seem to upgrade my iMac Intel run 10.4.11 to anything higher. (At least to a v 10.5) Does anyone have any help, suggestions or instructions on how to upgrade my computer please. I would be so very great full for any advis

  • Replacing a failed disk (SATA drive) on UCCX (MSC-7825)

    Hi,      I discovered a failed disk drive on the UCCX server (non-HA mode). Now, my task is to get this disk replaced. What are the typical steps to follow and what precautions should I take care besides backing up the config data)? Since thsi would

  • Error Installing IR Web Client Plug-in

    My users started getting: "*Unexpected status 200 (OK) returned on http://installengine.com/oci_range_check.txt access check. Please check if the server is properly configured*." The IE browser has HTTP 1.1 settings checked. IR Web Client installatio

  • Infomercials

    I continue to have an infomercial start playing and can find no way to stop it without logging off and logging back in. Whatever it is it doesn't use itunes or any of my running programs. How can I get rid of this problem?

  • Smart album by date (calendar) not working

    Ok, so first off, I've got to say I think I'm all screwed... I'm trying to sort photos in a Project by using smart albums, I thought I would be able to do this by a date/time, but I'm having several issues. 1. I have no idea of the date/time formart,