nxGetProperty sometimes takes a long time

Hi all

I use a 9862 (XNET CAN interface) in a 9068 (cRIO controller).

In my software (c / c ++ in eclipse), I have a session for each ID CAN (currently 4 out, 9 in.).

I use the FrameInQueued mode with queue messages, CAN to incoming size 1.

Then I'm just checking if there 'something' again in the loop in real time using nxGetProperty (session, nxPropSession_NumPend,...)

Most of the time it works fine, but sometimes (distance approx. 10 s), this feature needs about 7-8 MS (once a line) that is much too much, because my loop has only 10 ms and there is much more to do in a loop.

My app sends outgoing messages CAN by using FrameOutSinglePoint in the same loop.

There is no thread using xnet functions in my application.

Any ideas for the reason?

How can I get rid of this behavior?

Thanks in advance for your answers,

Jens

Hello

Take a look at this:

Getting started with the API OR-XNET for LabVIEW - National Instruments
http://www.NI.com/white-paper/12375/en/#toc4

...

In NOR-XNET, session for e/s single point modes are designed for use in loops of high priority. This applies to all four modes of single point: input, output, signal or framework. XNET Read.vi and XNET Write.vi provide fast and consistent execution times, and they avoid access to shared resources, such as the memory manager.

Modes other than single point session all queues to use it to store data. You can use patterns from session queue in a loop of the high level of priority, these modes of use a variable amount of data for each read/write. It takes a variable amount of time to process the data, which can introduce jitter to the loop. When you use the modes in queue, measure the performance of your code in the loop to ensure that it meets your requirements even when bus traffic is

...

If you get only in single point IO a timing loop deterministic and reliable,

Concerning

René

Tags: NI Hardware

Similar Questions

  • XY graph sometimes takes a long time to update legend

    Hello

    I wrote a small piece of code that highlights (changes line width) the plot on the graph when we click a mouse on its name in the legend of the plot. The code works well except when I the legend scroll bar is visible and its position is not 0, then when I click on the name of the parcel, the chart takes a long time(>4s) to change the width of the plot on the legend. The plot on the graph is updated instantly. Its only the legend of the plot that takes a long time to get updated.

    I enclose the code here... Please, run it and see if you also see the same behavior.

    Thank you

    Ritesh

    Hi Ritesh,

    The patch of f2 is already released. http://www.NI.com/download/LabVIEW-development-system-2015/5656/en/

    We will inform you of the R & D of your first question, but unfoturnately we cannot provide information on future products releases.

    Kind regards

  • Applications sometimes take a long time to start on my iMac to 2013

    On my other 2 Mac (macbook pro running Mavericks and mini mac running Snow Leopard - both with 8G of RAM) are super fast and responsive. My newish iMac (2013) with 8G seems to take time to log in (sometimes) applications. After I reboot, think is great, after a week or two, things slow down. Especially after that I have wake the computer and try to do something (with the applications that are already running). I keep the reader all the time.

    I ran EtreCheck and found a few red elements on insufficient RAM.

    Launch system officers:

    [loaded] 6 tasks Apple

    [loading] 148 tasks Apple

    [operation] 64 tasks Apple

    [killed] 18 tasks Apple

    18 killed processes lack of RAM

    Launch system demons:

    [loaded] 43 tasks Apple

    [loading] 143 tasks Apple

    [operation] 84 tasks Apple

    [killed] 17 tasks Apple

    17 killed process lack of RAM

    I can post the report as a whole if anyone thinks it would help.

    I thought that 8G only is not enough. I am running the latest version of El Capitan. I am considering getting Apple to add more memory. The iMac, I replaced was under Snow Leopard and was super fast, also with 8G or RAM.

    I had the hard drive replaced a few months (under warranty) because she could not and was the reason for which that my machine was not long like a dog, but now it isn't bad, until it starts to slow down.

    One last thing...  We have 3 users on the iMac. All signed at the same time. We do not have something strong, just email, browser, calendar and the application of greater occational.

    Thanks in advance.

    Do not post the full text of the report. A 8 GB computer shouldn't have killed during the launch of the process. Before running the program, restart the computer so that we can see what it looks like charges.

  • Videos keep stopping and take a long time to restart and then stop after a single word still sometimes

    Videos keep stopping and take a long time to restart and then stop after a single word still sometimes

    Hello C Johnston,

    Did experience you these issues when streaming video from any other website?
    It is possible that the servers of YouTube we perform slowly at this time here. This is the problem?
    You might try to optimize Internet Explorer to see if it helps at all:
  • How can I stop my computer to go to the screen saver when I for example runs a scan of the computer, sometimes my scan takes a long time to finish?

    My problem is? How can I stop my computer to go to the screen saver when I for example runs a scan of the computer, sometimes my scan takes a long time to finish? Example I have Microsoft Security Essentials set allow to run daily on 1200 AM and until he finishes my computer goes to screen saver Mode. and when I click on my mouse, I must sign completely new in my computer > how to stop this from happening, I want to keep my Security Scan open until there finishes?

    All the solutions for this?

    Original title: Windows Vista systems

    Hello

    This can help you:

    "Enable or disable the screen saver.

    http://Windows.Microsoft.com/en-us/Windows/turn-screen-saver-on-off#1TC=Windows-Vista

    And this is how do to change the time to wait before the screensaver comes on (article 8) and how to disable the password to logon to him (art. 9):

    http://www.Vistax64.com/tutorials/85539-screen-saver.html

    "How to disable or enable Protection by password on Wake Up in Vista"

    http://www.Vistax64.com/tutorials/102686-password-protection-wakeup.html

    See you soon.

  • My computer is very slow and takes a long time to connect and disconnect

    Original title: sign out of questions

    My computer is very slow and takes a long time to connect and disconnect. Sometimes I hit Logoff button and do not forget I have more work to do... is it possible to cancel the newspaper once it starts, or should I just wait what he log out completely and then reconnect? (It takes just forever)

    Install the background file. See if it suits it

  • With 32-bit and a clean install also takes a long time to start and a very long time to stop.

    I use 32-bit and a clean install also, it takes a very long time to start (and sometimes it will not) and a verlong tike to close

    Hello Duane,

    For more clarity and response, I divided it in its own thread.

    After your post, it seems that Vista 32 bit takes a long time to start and a very long time to stop.

    What are the specifications of material of this machine?

    We might want to try a clean boot and see how that affects the issue.

    More details about this is located at the following link:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Let us know if this helps solve this problem.

    Best regards

    Matthew_Ha

  • Firefox takes a long time to close since a recent update and memory of pigs.

    Since the recent updates that have begun to use containers of plugin, Firefox takes a long time to close. If I try to go back there, he said that it is still running. I have liik in the Manager of tasks and about seven containers plugin. exe is running, and I turned off or disabled mostplugins and addons, same Quicktime. Firefox uses an obscene amount of RAM on my XP machine and rendered sluggish. I use XP SP3. This started after you added the plugin container in one of the recent updates earlier in the year. For the features it offers me or does not offer me, instead, it uses far too much RAM and is too slow. And takes a long time to close when I close the browser. It uses about twice as much RAM as it was.

    Upgrade your Firefox 9 browser and check

  • Pages take a long time to load in versions 6,7 and 8, version 5 works fine.

    Version 5 works fine, when I updated to 6.7, and now 8, pages take a long time to load. It's on 2 different computers, one with Vista, Windows 7 other. If I restart Firefox it helps, but the problem comes back. Does not happen with IE or Opera.

    The default value of the pref Network.http.Max - connections has been increased from 30 up to 256 in versions of Firefox 6 +.

    Try to decrease the value of the pref Network.http.Max - connections 256-30 such as used in versions of Firefox 3.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • The system preference takes a long time to load

    As the title suggests, end of 2013 (10.11.4) System Preferences on my iMac takes a long time to load, even after a fresh reinstall and/or reboot (tried both). It takes about 20 seconds to one minute each time to open (except when I close it and immediately open it once again, as it is always loaded in memory). This problem existed only after the upgrade to El Capitan, and I saw many other people with iMacs with the same problem. I tried to remove cache for before system preferences files, but that did not help at all. I don't have a FileVault if it makes a difference, even if I did before reinstall, but never turned back (persistent question anyway). Any recommendations would be useful. Thank you!

    Data sheet:

    iMac (end 2013)

    Intel Core i5 at 2.7 GHz

    8 GB 1600 MHz DDR3

    1 TB 5400 RPM HARD DRIVE

    Intel Pro Iris 1536 MB

    I found it is the State of affairs in 10.11 if running a HD spinning.  Don't feel alone.

    I suspect that it is a function of low priority in the memory compressed algorithm.

    Upgrading to an SSD and it will rise to attention.

  • Satellite M300 PSMDCA takes a long time to start

    I have a Toshiba Satellite M300 PSMDCA - 01800C and there are some problems with it.

    First of all, when you start the computer, it takes a long time to start and activate Outlook.
    I am running Windows 7Home Premium.
    Computers arrow where I bought the computer told me that it can take up to three hours to go back through each process at startup?

    Is it normal that all I wanted was a simple portable easy fast, but it seems that I am stuck again.

    Also, when I go back to the computer, even after some time the mouse it does not provide new and pushing the Start button just a blank screen. Alt + Ctrl + delete, then he activates Windows again and then after having put my password and I have to wait for that be again loaded everything that takes so long. Any ideas?

    Also I often get the message when the computer starts "error has occurred in Toshiba PC Health Monitor. He will leave the application. "Main.frm.cpp (184). Any ideas?

    Quite often when I am scrolling with the mouse, the screen will turn black and flash and a message «the NVIDIA display driver... couldn't Reg...» "and he will correct itself after awhile. Frustrating!
    Quite often when scrolling on the websites of the page I'm going to freeze?

    I use MS Office 2010 and there is a problem trying to save Word documents and a message comes up with "a file permission error.

    Any thoughts? Thanks, Shirl51

    > First of all, when you start the computer, it takes a long time to start and activate Outlook. I am running Windows 7Home Premium. Computers arrow where I bought the computer told me that it can take up to three hours to go back through each process at startup?

    This nonsense!
    The system should boot up quickly my laptop needs 30 seconds to start.
    In my opinion, the system is screwed

    In your case, I recommend to reinstall the system.
    Did you create the recovery disk?
    If this isn't the case, I think that detailed instructions should be placed in the user's manual.

    After the recovery of disk has been created, restore the system, BUT save the data before doing so because the recovery disk would be to format the HARD drive and you lose data!

  • My 3rd generation takes avery long time to load, is this normal?

    My 3rd generation I - pad takes a long time (hours) to load.  Is this normal, or should I consider service?

    Hello

    Make an appointment at apple store for a battery check

    They can offer an out of warranty repair / replacement

    But you have to pay part of the cost.

    See you soon

    Brian

  • Visual Studio 2008 Pro takes a long time to start after the installation of measurement Studio 2009

    After installing Measurement Studio 2009, I noticed that it takes a long time (30-60 seconds) to open a Visual Studio project.

    I do not have an internet connection on my development computer and suspect he might be waiting on some kind of operation of the network to time out.  I had problems with Visual Studio in the past as well and had to work around them by adding entries to my hosts file (to redirect some addresses of Microsoft to the local IP address - this causes network operations to expire immediately).

    Just curious if anyone has encountered this kind of slow startup time and found a solution.

    Thank you!

    I found an article referring to a question similar to MS 8.1.  I don't know if the problem has simply not been corrected or why I am still having this problem.  Workaround "per computer" listed in the article solved my problem.

    http://digital.NI.com/public.nsf/allkb/18E25101F0839C6286256F960061B282 I have

  • videos take a long time to buffer

    There are a few dat I could watch fine Inc. and now it will take a long time for the buffer viedo and still have problems

    Hello

    1. what operating system is installed on the computer?

    2. what version of web browser work?

    3. do the same thing happens with all the videos that you try to play?

    4. I think you are referring to the videos online?

    5. How do you try to play the video?

    If you use Internet Explorer and facing problems, watch videos online, then you can check out the link below:

    The video problems when you use Internet Explorer

    http://support.Microsoft.com/kb/2532294

    Note:

    There is no option within the operating system to increase the speed of buffering. Only way to increase the speed of buffering in some measure is to have a connection with a higher bandwidth. But note that as does you not an option of continuous play in CD or DVD.

    Another work around that I do personally is to pause the video to complete the buffering and watch the video once the buffering completed.

    I hope this helps!

  • desktop computer takes a long time to load after uninstall of netware

    Dear Pascal, recently, by chance, I installed the client service for Netware on my PC. He asked to restart the computer, and after reboot, logon screens became classic. I uninstalled netware by accessing the properties of LAN. I managed to restore logon screens using Microsoft resources available on the net. However, my PC now takes * for long time for the desktop icons and toolbar are displayed. I use Microsoft Windows XP Version 2002 SP3, Intel Core2Duo processor P8600 @2.40 Ghz with 2 GB of RAM on Lenovo Thinkpad R400. I understand that it is after uninstalling the netware client that my office is very very slow. Help me for a faster loading of the desktop computer. Best regards, Reba Shankar

    Hey Reba,

    Thanks for choosing Microsoft Community!

    You have reached the right forum. Try to solve this problem.

    If I understand correctly, you have some performance issues on windows XP computer.

     

    Let us try the following steps:

     

    Method 1: Any installed program must be uninstalled from Add and remove programs. You can just remove shortcuts from other places like LAN properties.

    Run the following fix - it to uninstall client services for Netware.

    Solve problems with programs that cannot be installed or uninstalled:

    http://support.Microsoft.com/mats/program_install_and_uninstall

     

    Method 2: See the following article:

     

    How to make a computer faster: 6 ways to speed up your PC:

    http://www.Microsoft.com/atwork/maintenance/speed.aspx#fBid=uQRRD6ZPxkC

     

    Important notes:

    ·         Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    ·         The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Hope the helps of information. Don't answer if you need assistance, we will be happy to help you.

Maybe you are looking for