way by freezing the program after execution of ~ 1 min

Hi all

I wrote a program that computes the 5 different outputs and medium running only a small part of them so that the user can read the specific data of the easier points during execution.  From what I can tell that it's written properly, but my problem comes when I try to run in conjunction with the rest of my programs.  This sub - VI runs on a cRIO-9022 with a main program on the cRIO which communicates with my HMI on a PC.  When executing the HMI I get good values for about a min then the program crashes and I'm unable to abort it.  When I use the code disabled rather (what I used before on average), it works fine but I get better results from the average running and prefer to use.

I tried to change the size of the array that does not seem to change anything.  I also tried to take the synchronization function which made no difference.  I have excluded a problem elsewhere just by the fact that he has worked well with this disabled code and using the old code.  Any help would be great, I am officially confused.

Thank you

Have you considered using the average function pt by pt? In this way, that you don't have to write your own moving average.

Tags: NI Software

Similar Questions

  • Open file dialog box freezes the program

    Most of the attempts to open files using the open file dialog freeze the program.  He is a recent problem.  XP is up to date.

    He used to be a stddlg.dll who provided the file open and close services.  Is there something like this in XP, and it may be corrupt?

    Another possible cause for this is the corruption of disk.  A standard maintenance step that should be performed on a regular basis is a disk check.  Try running chkdsk with the ' / f ' or ' / r ' option:

    "How to perform disk error in Windows XP check"
      <>http://support.Microsoft.com/kb/315265 >

    HTH,
    JW

  • When I play a game on facebook called words with friends, my computer freezes the game after a few movements.

    original title: computer freezes

    When I play a game on facebook called words with friends, my computer freezes the game after a few movements.  Why?

    Hi ileendunman,

    1. have you done any hardware changes or software on your computer before this problem?

    2. what browser do you use?

    If you use Internet Explorer, you can follow this link & check if the problem persists:

    The problems of games online using Internet Explorer

    Hope the helps of information.

  • Someone at - it problems experienced installation PS 14 items on their Mac?  I managed to download the program after the purchase, but he continues to fail during installation.

    Someone at - it problems experienced installation PS 14 items on their Mac?  I managed to download the program after the purchase, but he continues to fail during installation.

    Frustrating.  I spent hours with 4-5 customer representatives Adobe tries to 'fix' my problem.  Finally, I just ask for a refund.  I was told 5 to 7 days until the refund appears on my cc.  I was considering buying the disc, but with your comment, I think I'll look for something else.

  • I have can´t run the program after you install with creative cloud

    Hello!

    I have can´t run the program after you install with creative cloud, he do not appear the button to open it, but the status is installed, someonepeut help me with?

    Can you tell me what operating system you are using (windows/Mac) and some data on your computer (RAM, card graph, 64 or 32 bit,...)?

  • Hello muse adobe at the opening of the program after entering my account details, he said an unexpected error has occurred, what do I do

    cats.jpg Hello adobe muse during the opening of the program after entering my account information he said: an unexpected error has occurredwhat should I do

    Just sign in and out Adobe Muse and creative cloud, then restart the program.

    Check out my website LJDezignz.com

  • black screen in the window of the program after the first pro cs6 update.

    I worked several months without any problems before this update... Now I can not find which version I had before...

    I have a black screen when playing and the screen of the program after the first pro 6.0.3, 6.0.4 cs6 and 6.0.5 update.

    Reading appears when I turn renderer for CPU, but I have tons of projects already rendered GPU and it slowes my work down.

    I can't use 6.0.0 and 6.0.1 because there is no support CUDA for my GT650M and there is no 6.0.2 for Windows

    What am I supposed to do?

    I followed on my Dell 7720 material:

    Windows 7 sp1 64-bit

    CPU i7-3630QM

    16 GB of ram

    Graphics Intel HD 4000

    NVIDIA GeForce GT 650M

    FINALLY I FOUND THE SOLUTION!

    This problem appeared after Premiere Pro cs6 update 6.0.5. and Nvidia graphic drivers at 320... then 331,65. Reading CUDA started working correctly when I reinstalled the graphics drivers Nvidia 307.07 old. It was very unsupposed problem. NEVER DAY drivers and the system until that your projects are completed!

    Thank you very much for the help!

  • What is the best way to refresh the table after autosubmit (10.1.3.4)

    What is the best way to refresh the table after autosubmit?

    I have a page that contains a table where if one of the fields is changed it autosubmitted where the view object changes some attributes, based on the field having been changed. I need these modified attributes that appear in the table. But without doing anything, the only way to see these values is to cause the iterator updated table.

    I've been refreshing the table is having a method in a grain of beacking called "getSystemSettingIter.getCurrentRow ();". This seems to be a bit of a hack for me and I was wondering if there is a better way to get the table to update.

    Thanks in advance!

    Have you tried setting between the two partial page refresh?
    http://www.Oracle.com/pls/as111120/lookup?ID=ADFUI385

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/web_form.htm#CACEIEEI

  • close the window after execution

    Hello! I have read the tutorial to "Distribute the Applications with the LabVIEW Application Builder" and followed the instructions on how to develop a stand-alone application. I added my VI to a project and built a specification of application (EXE). My problem is that after I ran the exe file, I would like the program to close, but rather one, just as my exe appears, but with a toolbar and a run button - and abort. How can I change the settings so that this window will not appear?

    / Nina

    Europe says:

    Hello! I have read the tutorial to "Distribute the Applications with the LabVIEW Application Builder" and followed the instructions on how to develop a stand-alone application. I added my VI to a project and built a specification of application (EXE). My problem is that after I ran the exe file, I would like the program to close, but rather one, just as my exe appears, but with a toolbar and a run button - and abort. How can I change the settings so that this window will not appear?

    / Nina

    Or simply run a method node Frontpanel: closed at the end of your application as the last operation.

    Rolf Kalbermatter

  • Waiting to press the button freezes the program

    Hello!

    My problem is that in my example VI is waiting for the button to be pressed and then press again, but after the first press, the program gets into an infinite loop, or something like that, but I don't really understand why:-before ask you why did I need this, in my initial program a string should be changed if after you press a button "change" the program must wait for a button press 'ok' to accept the changes. The important thing that if she is not in mode the button 'OK' edition has a different function.

    Thx for the help ^^

    You missed the event-driven programming in LV basics I suggest you read the warnings of the structure of the LV event.

    The most important rules that you missed:

    -Never attach more than one structure of the event in your application to a single event

    -Put graphic objects that are a source of events in their case of appropriate event

    hope this helps,

    Norbert

  • Cannot open the program after you restore the backup of the files.

    original title: problems of recovery program

    I had to do a system recovery. When the files have been restored from the backup made on to the DVD-they do not repopulate the original sites, that is to say the restoration has created a section of program in the C drive, but it had only the value default ones that came with the computer since the store - as it was supposed to, given was a cover. However, all of the programs I've added over the years are stuck in the restore file called "Program Files" as most have been downloaded since the ' net, I have no disks. not only that most is time sensitive and have many improvements. How can the Backed files program, now residing in 'My Documents', developed by the backup process located in the C drive program area? When I try to open the program in the restore file, the content and details are listed, but the program does not work. Thanks for any information.

    Hey Dave to Campbell River.

    I'm a bit confused between your question and the answer. Have you already restored your system or if you are trying to implement and obtain information?
    In response to the original question, you can back up your entire hard drive, back up is called a System Image, it will be, as it is said, back up your system.
    A system backup / full copying data files, but not everything on the drive. You cannot use it to restore the entire system.
    I hope that sheds some light on it for you. And fear what (I'm trying to follow the number two of the answer now) you created a backup system, and are now trying to re access to your program files, I'm afraid, you're out of luck. I had to learn the hard way, too, so I hope you are getting information and are not in this situation.
    Hope this has been useful, if you have any other questions, feel free to keep coming them.
    Thanks for posting of answers!
  • won't let me download the program after an unexpected shutdown

    I downloaded a new program last week, worked well until the last nite. He tells me now Microsoft detects problems & leaves the program. I removed it & charge redown. It downloads half, displays the icon & then tell me the same message.  I had a update pkg sevice ran, but he did earlier. Any help! This is a new program & I hate 2 waste my money on it, if I can't run!

    Hello

    Is what program this? From which site?

    Use this method to download and install.

    Download - SAVE - go to where you put it-click on - RUN AS ADMIN

    If you must uninstall reinstall use Revo Uninstaller - free (download and installation using method above)

    Revo Uninstaller - Free Version
    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    --------------------------------------------------------------------------------------

    If necessary:

    What antivirus/antispyware/security products do you have on the machine? Be one you ALREADY had on this
    machine, including those you have uninstalled (they leave leftovers behind which can cause strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes without doing anything - then right click on the task - bar
    The task manager - take a look at stored by - Services - process - it is a quick reference (if you have
    a small box in the lower-left - show for all users can check only).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG and then display a list of the people here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what are the files, registry keys and other objects processes have opened, the dll
    they loaded and much more. This exceptionally effective utility will show you even owned by each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to startup automatically when your system boots and you
    opening of session. Autoruns also shows you the full list of registry and file locations where applications can configure auto-
    start the settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    WhatsInStartUP - free - this utility displays the list of all applications that are loaded automatically when Windows
    starts. For each request, the following information is displayed: Startup Type (registry/Startup folder).
    The command - line String, product name, file Version, company name, location in the registry or the file system,
    and much more. It allows you to easily disable or remove unwanted programs that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window Watcher says it all, reporting of any window created by all running programs, if the window is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • Dialog import Lightroom CC no way to eject the disk after import?

    The new Lightroom screen that appears when I connect my computer with a flash card is confusing and overwhelming her aggressively. I can get used to it but first need to know how to control. I just want to see the flash memory card, I just plugged and not any possible place to get photos that I really want to see. The first question I have is I don't see a way to check the box to "Eject the card after import" - it is not possible or is there a hidden way to tell Lightroom to do this.


    PS: I don't quite like the new interface to import... Please leave the things that work well alone and focus on the implementation of Photoshop keyboard controls that many of us know to manipulate images, as the + and - to zoom in and out...



    Hi KenNielsen

    Greetings and thanks for your comments.

    -It is not possible or is there a hidden way to tell Lightroom to do this.

    This offer is gone in version 2015.2.1

    Update of Lightroom 6.2 import refer

    : I do not like the new interface to import... Please leave the things that work well alone and focus on the implementation

    We are working to resolve the known issues in Lightroom CC 2015/6. 2.1 version.

    You can ask for the features you want to see in future Lightroomin here Photoshop community customer family

    We would be happy to hear your point of view.

    Concerning

    ~Assani

  • Open the custom after execution of PNE_SAVE_QUERY page

    Hello
    I want to display custom after execution of PNE_SAVE_QUERY service page. How to do this?
    Thank you!

    Create a component. Add a template to this component. When you create the model that you give it a name, something like MY_CUSTOM_PAGE. Now you must define the variable Page to have the name of your template. For that, you have at least two options:

    1. you could substitute the PNE_SAVE_QUERY service in your component and set the variable in there. Which would override any value Page has for each request to save the query.
    2. you might find where the call to PNE_SAVE_QUERY is happening and where the Page variable becomes together and override DHTML understand and adjust the Page here

    Whatever it is, you must assign the name of the Page template.

  • Is there a way to get the program volume control on my computer without my windows disc? Windows came preintalled on my laptop.

    The sound icon disappeared from my taskbar.  I get the message that I have not install the volume control.  I don't have a windows xp disc to reinstall the program.

    Hello Jrcarls,

    Thank you for your message.  Please see the link below.  The steps included in the link are a possible solution to your problem.
    Please let us know if it did or did not resolve the issue.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for