After a time when the data added to the interface user blocked - WPF

I am currently using WPF graphics.

I have created a simulation that describes the problem that I have experienced in my application (attached).

I have two sons, we generate data (in my application gets the material data every second) and the other copies the data in the user interface (copy the data to a variable, which bind to the data source).

Every second I get 1000 points and adds them to the data. The first seconds it works well, after a while it gets stuck.

I added a listbox control that displays the time, need to add the variable data and gradually increases.

I have two questions:
(1) did whenever I have add data, it attracts all the existing data again? If so, theres a way to improve or prevent this behavior?
(2) how many points can represent the graph at a glance? (which is the limit of the graph)?

Thank you

HODAYA Shalom.

Your example updated debugging, I think that the question is the Dispatcher.Invoke calls that you use to communicate with the user interface thread. Since you use the delegate only, all calls are sent with Normal priority, which means that events of low priority (as made graphic, or updated on day of data binding to scales) can get transformed. Using a lower as priority Render four Invoke calls not glued to the UI in my tests.

Tags: NI Software

Similar Questions

  • Hello! I ve a problem with the complete abo... How can I activate illustrator after regulation time? the complete abo is already saved for the last month...

    Hello! I ve a problem with the complete abo... How can I activate illustrator after regulation time? the complete abo is already saved for the last month...

    [Duplicate message deleted... post the same question more than once is confusing... MOD]

    [This is an open forum, not a direct line to Adobe support... you have to wait a response]

    Hello

    Please see: -.

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • Lack of Snipping tool in the interface user of Windows 8 (NOT THE DESKTOP), but in any Windows Apps Store

    Is there any tool to capture in the user of Windows 8 interface?
    The only way I figured out was to use the PRINT SCREEN

    If none of these tools, it is a very big lack not being able to take just one part of a screen in the user of Windows 8 interface

    Windows 8 Pro (MSDN)

    I know where it is that I use daily and very often.  It does everything not in the user of Windows 8 interface
    On the desktop, there is no problem with him, but as soon as you go into the user interface of Windows 8 it is a similar tool when we are in the interface user of Windows 8 (Windows Store apps) so there's no way to use it?

    Hello

    Workaround for this would be to create a screenshot in the App Store, load the screenshot in Paint and and crop the image of what you want.

    There is a new keyboard shortcut in Windows 8 to create screenshots.

    1. press Windows + PRTSCN key. This will create a screenshot and automatically put my Pictures\Screenshots in your folder.

    2. open the screenshot in Paint and use the Select + tools to harvest.

    Concerning

  • Change the language of the interface user InDesign CS6 (CC)?

    How can I change the language of the interface user InDesign CS6 (CC)? Currently, I have all the menus in Norwegian, but would like to have it in English. I remember all the options during installation to choose the language. I hope someone can help! Thank you very much!

    You have creative cloud then you can change the language of the application of the preferences of the MAO.

    Please find the link below for the article with the steps: -.

    http://helpx.Adobe.com/creative-cloud/KB/creative-cloud-trial-mode.html

    BTW no need to uninstall.

  • Photos do not sort by time when the Date and time are adjusted

    I'm the combination of images of my friends with those friends, using Mac Photo of OS X V10.11.4. Because the dates of our cameras vary, I used "Image, set Date and time" to change the dates of the imported pictures. When the dates and times are adjusted, the photos are sorted by date no time. Added photos changed the given date are sorted at the end, regardless of time stamp. The sort options in the pictures leave much to be desired.

    Where are you seeing this? All the photos are sorted by date/time, the photo has been added to the library - Photos (years/collections/moments) are sorted by date/time pictures

    You can select the photos of interest and create your own album of them and then sort but title ascending or descending or by date

    LN

  • calendar-clock does not retain the exact time when the computer is turned off

    original title: calendar-clock

    Clock only works when the computer is turned on.  It does not update the time.

    date does not update also. It is a program in windows vista.

    The year stay as the exact year, or back to a previous year, after restarting the computer?

    If the above applies:

    You probably have a failed in your motherboard CMOS battery.

    It's a battery power supply NET, size piece that keeps your system settings when your computer is off.

    They cost about $5 to replace.

    http://www.computerhope.com/issues/ch000239.htm

    How to replace the CMOS battery in the above link info.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to make a text field required at run time when the user clicks on the box?

    I had a form, there are several checkboxes fields and the text associated with the check boxes. If the use clicks on the checkbox then partner

    text fields should become mandatory. I tried the change event and the click event of the boxes. There is error in the onChnage event and I got some odd results in the click event on. Sometimes, if the user clicks the check box, then for the 1st time the field is not required, then the user onclicks the box and when the user clicks the check box for the second time the field becomes necessary, but if I turns off the option highlight the field and selects the field becomes necessary even if the user onchecks I am totally confused! To add that I have also written an incorrect code always I reached the goal? How it can be possible. I write the codes below, please help me because I am working under a deadline from the client.

    onChange event:

    var = this.boundItem (xfa.event.newText) newVal;
    if(newVal == 0)
    {
    xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = "disabled";
    }
    on the other
    {
    xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = 'error ';
    }*/

    For the onClick event:

    var a = xfa.resolveNode ("form1..") RawValue Subform0.Subform1.Subform9.Subform10.Table48.row2.CostItemRecovere d_OnlyEnergyCharges");
    App.Alert (a);
    if(a == 0)
    {
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = 'error ';
    }
    if(a == 1)
    {
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = "disabled";
    }

    Please help someone!

    Hello

    You may need this resolved at this point, but here are a few tips.

    An example of a loop in a dynamic array is here: Re: how to make invisible/visible or hidden columns with checkbox?

    You are usually not necessary to resolve the nodes, especially when the script object is in the same table as the target objects.

    For example if the table was not static your script could be simplified:

    if (this.rawValue == "1")  // this object is in Row2
    {
         Row4.ComplianceCheck_L1_1.mandatory= "error";
    ...
    }
    

    However because you will be to loop through all the rows in the table repeatable instances / then you need to resolve the nodes. Take a look at the example above.

    In your script, you have to Row8 Row4. I don't know if this is repeatable or just some of them. If we take Row4 as being repetitive, then you can apply the following to all repeatable lines.

    var vRow4 = Table48._Row4.count;
    console.println("Row4: " + vRow4); // You can delete this or comment it out after testing
    
    if (this.rawValue == "1")  // this object is in Row2
    {
         for (var i=0; i
    

    I have not tested, but it should be close to work.

    Good luck

    Niall

  • My out going to send show a slow time - when the I send email it displays the correct time

    Hello

    I have a vista home Prieum system... .the problem is that email when time which is recorded on the email before it is sent a slow time... shows when the e-mail is received, it displays the correct time... How can I recrify it, you can

    Jeff Matthews

    Hi Jeff Matthews.

    Thanks for posting in the Microsoft Community.

    I understand that outgoing emails are incorrect time, he would be grateful if you could answer this question more answering the question.

    1. this happens with a specific e-mail program?

    2. are you faced with the question of the webmail like Hotmail or Yahoo, or with any client e-mail like Outlook?

    3. have you made a recent software or hardware changes to the system?

    It seems that you have to change some settings in the email program itself to change the time.

    You must get in touch with the email service provider for assistance.

    If you use Hotmail or Outlook, you can post your query in Windows Live or Office Outlook Forum to get help.

    If please reply and let us know if you need help to solve the problem and we will be happy to help you.

  • ESXi 5 managing network not automatically start after reboot, or when the output of the mode standby

    vSphere 5.

    ESXi5.

    HI all 5 ESXi installed on HP BL460c G7. HP C7000 Enclouser system connected to the NAC (switch HP series A5800) via the Module HP FlexFabric 10 Gbs. The server has 6 vmcins:

    (1) management network - 2 NIC (1 GB per nic)

    (2) vMotion Network - 2 NIC (1 GB per nic)

    (3) Vitual Machine networks - 2 NIC (2 GB per nic)

    (4) zFCP - 2 network cards (6 GB per nic)

    After you restart or when the output of the mode standby, the management network starts does not automatically, you need to restart manually from the console directly. Hypervisor ISO downloaded directly from the vmware Download Center and all the recommended HP drivers downloaded and installed from HP Download Center.

    OK, another thing you could try is this change that HP recommended for my situation. The CLI performs: esxcfg-module - s "heap_max = 20971520" be2net

    and reboot. The memory default chunk size is not large enough and will change to this size in the next version of the driver.

    Also, have you tried yet 5.0 U1? There are a lot of bugs in U1.

  • Portege 3440CT freezes after some time while the files are copied

    Hello all :)

    It seems that I have the same problem as missred in this thread http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=19232 (bottom). Unfortunately I can't answer it this is why I am writing here. The version of my laptop is 3440CT.

    My test was to make a win98 HD bootable with directory i386 on it, the start of this drive and run the Setup with winnt.exe. OK, it works, but while the files are copied after awhile it just hangs. I tried with a partition and i386 on the active system partition and with two partitions and i386 on another non-system partition. I don't have floppy or CD for the laptop drive.

    Any ideas what's happening? Is it possible to install XP on the same disk, installing XP is started from?

    Can't wait for your answers ;)

    DZI

    PS: My other tests were:
    -complete the installation of XP on another computer, then move the reader
    -Installation of XP on another computer until it resets first (after you complete composing the installation files), then move the reader
    both without success. I also changed the drive to another as I suspected it is physically damaged. Now I'm ideas ;)

    > OK, it works, but while the files are copied after awhile it just hangs. I tried with a partition and i386 on the active system partition and with two partitions and i386 on another partition system
    To me it sounds more like a HARD or RAM disk as an incorrect Setup procedure failure.

    What do you think?

  • NEITHER 9481: Why dose the relay turn off all channels once every time when the vi is executed?

    Hello all, I use cRIO 9025 and NI 9481 to develop a program. The relay is used as switches.  I designed it, is that when I run the vi, the channels of the relay are all on. When the port of entry of the digital input/output module gives a signal to the relay, the relay channels is disabled. However, whenever I run the vi, the relay is disabled once and then trund once again. May I ask why is this happenning? I guess that's because the default state of the relay is disabled. Is there a way to fix this?

    Thank you very much!!

    All the relay modules are like that and there is nothing that can be done as far as I know. Electromagnetic relay are generally loaded spring and holding (switch closed) by a voltage sent to the relay. They will turn off when restart you on the relay controls. You can set the State of the relay on real as the first thing when you start your VI, but beyond that you would have to solve your electrical problem, control switching relay at a constant voltage during the startup of the program. However, in most cases it would be risky and unreliable. However, there are many different types of relay and you did not specify that you are using.

    See basic operation section, section of this article to read on how to relay themselves by default to the State of open circuit:

    http://en.Wikipedia.org/wiki/relay

  • Why Wizard does not start when the current user?

    Program does not RUN. Wizard does not open after you select the Option for the current user

    P.S. If you can't always install Firefox, even using the FULL Installer:

    Reinstalling but this time download the file on your computer. When the download is complete, install it as an administrator by right clicking the configuration file and select "Run as Administrator".

  • Two thunderbird profile both at the same time with the same user account

    Dear Sir
    I would like to use Thunderbird two at a time for two different profiles with the same user accounts.
    I use linux OS.
    I thought using the:

    1. Thunderbird Pei Profile1 &
    2. Thunderbird Pei Profil2 &

    But at the launch of the second order, that nothing is happening.
    Appears in the foreground thundirbird already started.

    If possible use this configuration now or in the future nex?

    General rule, thunderbird runs only a single instance of a profile.
    However, there are two options, you can try.
    You can use an addon esily switch profiles:

    There's more help here:

    He said: "several instances is expected for debugging, so use it at your own risk.

    One method would be to use: start > run
    "C:\Program Files\Mozilla Thunderbird\thunderbird.exe"-no-remote Pei profilename

    There is a space before '-no '
    and also before '-P'
    followed by a space and the name of the profile

    You can create a shortcut icon to run each separate profile.

  • Set alarm when the ROOT user login

    Hello forum!

    Is it possible to configure an alarm trigger to let me know when the ROOT account is used in vCenter or any ESXi?

    Thank you!

    Jorge G.

    Take a look at this post for the solution - http://www.virtuallyghetto.com/2011/10/how-to-create-vcenter-alarm-to-monitor.html

    BTW - unless you have created a user called "root" on your vCenter server, you will most likely only need follow this your ESX(I) hosts and not vcenter server

  • Prevent sending e-mail when the new user of the IOM is created

    Hello

    I installed OIM11.1.1.5.2. Whenever a new user is created using the delegated Administration console an email with the following content is sent to the corresponding user:

    "Congratulations!" Your account has been created successfully! Your user name is < USER NAME >"

    How can I stop this email sent?

    Thanks in advance.

    Naviagte to IOM--> Advanced webconle--> export file Deployment Manager--> select model Notification & search click-->, select the model and click Export... it will be saved as an XML.

    Since it's OOTb, u also get any otheer environment later

    Regards
    user12841694

Maybe you are looking for