Spooky: Front lost control of the scheme code

I have a LabVIEW (Win7-64B LabVIEW 14.0 32 bit) program that behaves a little bit scary.

On some occasions, while the LabVIEW tandis que le LabVIEW programme program is running, suddenly the front panel controls are no longer read by the process of block diagram. So that's what I see:

  • The program runs, processes the data, and updates indicators as expected.
  • The run button is in unmanaged mode even if the program continues to run.
  • The button abandon red is not functional - push has no effect.
  • The block diagram can be debugged, simple staircase and breakpoints.
  • The controls on the front panel are not read and the program cannot be stopped because it is based on the action of the Panel before doing so.
  • The run button is non-functional in the sense that it can be pressed in run mode, but he has no apparent effect on the State of the block already running diagram.
  • The only way to stop the program is closing the front panel.
  • The behavior occurs at random times, is annoyingly frequent, but not enough (frequent) to make debugging by elimination of effective code.

The program is a construction of State machine using queued messages and access material cRIO via shared variables.

I know that this information is rather rare in which case debugging suggestions, but in which direction to look for all ideas are welcome.

Some of these could possibly be explained by things like the user interface is locked by a structure of the event or updates to defer property is set on the Panel or being stuck in a call from the DLL, but there is another option that seems to match your description a little: https://lavag.org/topic/17049-windows-aero-theme-and-lockup/?p=104728

When I saw him it was in an EXE file, so I can't comment on things like execution of arrows, but it was definitely a case where the VI was certainly running and updating the user interface, but was not receiving updates of the user interface.

Tags: NI Software

Similar Questions

  • Reset computer to factory settings, installed SP1 and lost control of the keyboard and the mouse. Had to do system restore just before the installation of SP1.

    Original title: help

    OK to reset to factory settings to allow hopefully laptop to read CDs again, then downloaded installed sp1 and lost control of the keyboard and the mouse, and still can not play music not forget hadda restart in safe mode to use the system restore to just installing the sp1 b4

    Hi MartyFenwick,

    I imagine the inconvenience that you are experiencing. I will certainly help the question of fixing.

    To help you suggest several steps to solve the problem, I would appreciate if you could answer the following questions:

    1. What is the brand and model of the computer?

    2. What is the brand and model of the mouse and keyboard?

    3. you receive an error code or message?

    4. is everything works well after running system restore?

    5. what exactly do you mean by "hadda restart in safe mode to use the system restore to just installing the sp1 b4?

    6. what happens when you try to play music CDs?

    7. what program you use to play the CD?

    Please follow the methods and mark the question below:

    Before you install SP1, follow the method 1 and 2.

    Method 1:

    You need to perform a clean boot to prevent any third party conflicting application from interfering with your computer.

    To put the computer in a clean boot state, you must follow the steps in the article mentioned below and check with the question.

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

    Note: You must follow step 3 of the article mentioned above to recover your computer to a Normal startup after you complete all the steps.

    Method 2:

    I suggest you disable the antivirus for temporarily until the installation of SP 1.

    Disable the antivirus software:
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 3:

    Follow the steps in the link for problems with the keyboard and the mouse below.

     
    Mouse, touchpad and keyboard with Windows problems:

    http://Windows.Microsoft.com/en-us/Windows/help/Mouse-touchpad-and-keyboard-problems-in-Windows

    Method 4:

    Follow the steps in the link below.

    Learn how to install Windows Vista Service Pack 1 (SP1):

    http://Windows.Microsoft.com/en-us/Windows-Vista/learn-how-to-install-Windows-Vista-Service-Pack-1-SP1

    I hope that the information above helps you.

  • I lost control of the iPad from my dad

    I expect after the iPad to my old man 2. (So I know how to work, I have a second iPad, the same model, so I can be sure that I understand what my father asks, when there hard work.) Recently he told me that he has problems with it, so I asked her what she did and then tried the same actions on my iPad - no problems seen :-)

    However when I saw him then, I tried logging on my Apple ID and to my astonishment, all text fields, I tried started to fill up, without me touching the keyboard. I took it home and now whenever I turn it on it and try to use it, I see a mad dash through the menus and controls - all this without me touching a thing! This is all very worrying - anyone have an explanation?

    Is it possible that some kind of accessibility feature has been activated?

    http://www.Apple.com/accessibility/iOS/

    Use the accessibility features in iOS - Apple Support

  • I have reset firefox and lost control of the sound icon

    Using a laptop hp compaq. A get the slow start, so reset firefox. After reset, have more control icon in the bottom right of the screen. Other icons are still there. (State of the battery, windows sidebar, etc.) Have no sound.

    Hello

    Please follow what to do if Firefox won't play all the sounds section to solve your problem.

    Thank you

  • Lost control of the size of the text

    I know this is an old question, but I do not remember (can't find) the solution.

    Suddenly, by default, the size of the text went to the "smallest" on IE8 and OE6.  Size can be changed by the view/text size, but is some parts of the screen and always default to smallest, after the closing/opening OE or IE.

    An excellent suggestion was to check the installation dates of the updates (which I put in automatic mode) compared to the beginning of the problem.  The problem, however, began well after the update.

    Any helpful suggestions would be appreciated.

    Dave

    IE8 SP3 OE6 WinXP

    Hi Dave, Sabre

    1 when was the last time it was working fine?

    2. did you of recent changes on the computer?

    Method 1

    Check if Add-ons installed on the Internet explore is the origin of the problem. I suggest that you turn off all of the Add-ons on internet explore and check if it helps.

    How the modules of the browser affect my computer?

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-browser-add-ons-affect-my-computer

    Method 2

    If the previous step fails then try to reset the internet settings explore by default and check.

    For more information please visit the link below.

    How to reset Internet Explorer settings

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

    Important: Reset Internet explore its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

  • front end control hovercraft

    Dear all,

    I am doing the project for my final year on Panel engineering front hovercraft using labview. Here, I have attached my vi. Please someone go through it.

    I get a series entry and display temperature display thermometer. Problem is as soon as the series executed and displayed reading the temperature on the thermometer the thermometer displplay display goes back to 0, reading, it will not always see the result.

    suggestions needed,

    I need to set up the sensor right, left and right, which is the Ultrasonic sensors which is the present enemy near the sensor and I need dispalay the distance between the sensor and the enemy who also came from Sanchez helps labview.how to implent it.

    Please someone help me to do this work.

    Thank you and best regards,

    Sudarshan

    LabVIEW, the default 'resets' orders or the default value (zero) indicator.

    The reason why you have to put your code inside a loop is very intuitive and a knowledge of the "common sense". You must specify the computer to keep your program execution for a specified period or until you force quit. If you don't do this, your machine runs each statement once and then, period. Imagine a plane that runs a control post (the brain) code within a material, without a loop. It will run once (for a period of a few microseconds) and then your aircraft will have no brain to decide what to do. So it will crash. Millions of lives will be lost.

    The loops are necessary 'energy' to keep your active code for a while. Your code will run once, and after it is finished running, its controls and indicators back to their State natural quantity ZERO.

    Maybe it's one of the reasons for your problem. Try putting a WHILE LOOP with a FALSE Boolean constant hung with terminal condition. Or simply wire a Boolean control the State OFF. If there still is no temperature reading, or get the reading as you mentioned, then there must be a problem with the acquisition hardware that you are using to measure the temperature.

    Try to put the loop first, observe and come back here.

    An other logistics major, that you need to take care is the SUBJECT LINE. Do not mention the title of the project in which you are facing problems. You are the door problem on only a part of your overall design. Try to get to issue brief, to-the-point. For example I have a robot (General design) where I get no ultrasonic sensor data (a design offer) because Calendar and the sycnhronization is a little new to me in LabVIEW FPGA (under part of part of overall design). So my subject line would be Timing and Synchronzation ultrasonic sensor in LabVIEW FPGA.

    Kind regards

  • How to make non-visible control on the Front Panel appear at Design time?

    I have a few controls on the front whose visibility is changed (on or off) at run time. The problem is that if I stop the Run time, the visibility of the control remains in the running in design mode state. So I am not able to see or find the control to make changes in design mode.

    How can I make all the visible front-panel controls, or find and make it visible to a control on the front whose visibility has False?

    Thank you.

    It is documented in the help of LabVIEW.

    Hidden front panel display


    Perform the following steps to display a hidden front control or indicator. You can also hide the indicators and controls on the front panel.

    1. Find the terminal block schema for the object. "If you have multiple devices with the same type of data, right click on the terminals and select visible elements" Label in the context menu. Find the object with the label that corresponds to the object hidden façade.

    2. Right-click in the Terminal, and then select Show Control context menu if the object is a control or indicator to show if the object is an indicator.

    You can also use the Visible property to display the controls and indicators by program.

    You can also view all hidden front panel controls and indicators.

    Path: Fundamentals-> build the façade-> how-to--> configure the objects-> display on front panel of the façade hidden object.

  • How to show or hide a control on the front

    Hi all, I review the code to someone else, and a control at the front panel seems to be hidden until click you on an item to display. I tried to use right click in front panel and it did not work by clicking something bound to show or hide. Since I did not quite familiar with property nodes, this hidden parameter can be linked to it.

    In the photo, it shows the façade and its two property nodes, could someone advise me how to change the setting to show this control? Thank you!

    Hey.

    Is that what you are looking for...

    The Visible property to set the option above by programming.  If you want it to, you need wire a real constant itself.

    Kind regards

  • Update the controls on the front panel producer consumer

    Hello

    I wanted to ask you a few tips.

    Usually, when I implemented a consumer producer I use producer to create items from queue whose state of the enum and pack all the necessary data in the process of the event in a Variant.

    Then the consumer does all the work.

    There are two areas where I feel that I could not be using the best approaches...

    (1) when I need to update a control on front panel I Pack a reference to this control on front panel in the variant in order to access the property nodes in the consumer and to update.

    I have attached photos with an example. It's simplified code where the user must perform a task of data acquisition in the analysis of certain parameters. The code increases the setting of a fixed amount to each race to help the user in its sweep.

    Is there a best way to do this?

    (2) when events require the same control to be plugged into the variant for the handling of the loop of consumer I create local variables or references to this control to other events. Would it be better to have a registry change that crosses the loop producer which gets updated values of façade at each time the loop iteration?

    Thank you.

    Because you use a loop of events such as the producer, I would use user events to update your controls.  This way you are not circulate references just to set/update a control.  You can make a user event and handle this event with the structure of your event.  Your client sends just the event with all the necessary data.  I found this configuration really useful since it retains all the GUI code centralized in a single loop.

  • Disabling the controls on the front panel

    Hello

    Currently, I am working on trying to disable/gray out between 10-20 controls on the front panel when you press a start button and then allowing them the end of the test. Currently I use the property nodes, all of which are connected to a constant of the State in which I want that works perfectly. My question is that there is another way other than having a bunch of knots of padding property to the top of my structure of the event. Ive read where people had Subvi, which has used references to make this same feature, but is there a way of doing things in the block diagram of my current VI? Thank you!

    Need references of your controls on the front panel, so this can be fast, because you can select more than one, and with a right click you create references.

    I have attached a version LV2010.

    Edit: another review:

    Must be created only once these references. Usually, it's comfortable group all the references in a cluster, use this thread through your entire code. This way you can just ungroup references to the actual location, you have to play with, put them in a table and use the above FOR loop to change their properties...

    Like this:

  • Is there a more efficient way to use the visible property node to make the inactive/hiding controls on the front?

    I just inherited the labview code to run a system of imaging optics mamography.

    It has 32 sources 128 detectors and 2 games of light and the user has the possibility to control the parameters of gain for each sensor to each source for each source of wavelengths, so as you can imagine there are a lot of orders and LEDs on the front panel.

    The user also has the possibility to choose the number of sources and that they would like to use detectors.  v: * {behavior:url(#default#VML) ;} O'Bryan: * {behavior:url(#default#VML) ;} w\: * {behavior:url(#default#VML) ;} .shape {behavior:url(#default#VML) ;}}}} Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Depending on how many sources are entered labview code through a loop For which in fact a 'smooth box' visible or invisible, on the adjustment of gain control depending on whether the current detector is greater than the seizure of the number by the user.  This loop slows down the program because it works 128 times (max number of detectors) and has 4 structures deal (2 sets of wavelengths, 2 for each breast) with 64 nodes of property each where it is visible property to enabled or disables the box with that covers the detectors.

    I was wondering if there was an easier way to enable or disable controls for unused detectors, not only that slows down the program but to reconfigure the data to use more sources, I stop the program and restart it.

    Any advice on the creation of a dynamic front would be appreciated


  • Initialization of controls on the front

    Hello

    On my front, I have several controls that the user must set before executing the program. The user mostly enters values that each time that on the front before running the program.  Is it possible to save these values in the control on the front panel, so that the user sees every time when the opening .vi program file?

    Thank you

    Mary

    Together the values that you want to be default then select the controls that you want to contain the values and then go to edit and select current values are lacking.

  • no active controls on the front after sub vi opens

    Hello

    I have a little difficulty with my VI.

    I run a sub my main façade of VI VI.

    The sub VI opens, but when it is closed all of the controls on the front of my main VI is no longer active (buttons etc. not clickable).

    I put counters on the iteration of loop terminals so I can see that the program is still ongoing, some controls no longer work.

    Someone has encountered this before and offer all the solutions?

    Thnaks for the research, I appreciate it!

    See you soon,.

    Iain

    Hello

    Sorry sub VI is located in the loop of the selection of the files offline at the bottom of the block diagram.

    After playing with it for hours last night, I seem to have sorted by deselecting the option "front lock Panel" starting from the properties of structure of event!

    Thnaks for all your help!

  • I have the same front panel control in several events?

    I tried to find it in the forums and knows that there must be a simple answer, but being a left tackle L again, this one is cheating on me. So:

    I'm programming a small mission-generating program that will allow a user to create files of the mission for a small underwater AUV. These mission files can be created in Wordpad or similar, but I wanted to make an application where the user doesn't have to worry about the sometimes finicky syntax etc. The operating system of the AUV is based on linux. It is also a good opportunity to practice my LabVIEW file, management skills and experience programming state machine.

    I created a state machine, and is one of the States 'Add Primitive'. A primitive is one line of text that can be 'go to xyz', 'surface' etc. 'home' with the coordinates or other settings entered on the controls on the front panel when the appropriate primitive is called. I there before had 8 orders of the Panel before the user can choose to primitives with and structure of the event with a pane for each control. Each event, then displays string writing for this primitive controls and property nodes hide everything on the front panel.

    My problem is, I want a "Validation" button that will write the primitive duly filled in the file and display the file so far in a preview window. I can only put this button of validation in an event well and I can't use local variables. I want the same façade of control are committed to do the same for all the different events in my structure. Is this possible?

    I think that maybe the control and my preview pane should be outside (to the right) my structure. Or maybe a case of event isn't the right way to go at all. Any suggestion would be appreciated.

    Thank you

    I recommend some redesign of your state machine.  You should have a State just to handle events of the user (have the structure of the event in it).  The start State should go directly to that State of "idle".  You can then manage each button with the structure of the event rather than do an interrogation of sorts.

    In each case in the structure of the event can determine what State to spend.

  • Best way to reset all controls on the front panel except one?

    Hello world

    I have an interesting problem, whereby I need to run successive tests using a test station which has several indicators on the front panel. At the end of each test, I need to reset all to default values, with the exception of a control (Test ID) who needs to keep his information - its value is used in an initialization status for test to ask for information from a database, so it can not be reset with the rest controls.

    I post all orders at a time using a reference ThisVI and VI Default Vals.Reinit All method, but this will obviously reset my control values (Test ID) as well. Any suggestions on how to keep properly or may store this information control while resetting all others. I can reset individually others but there is a little and more can be added as this system is developed.

    I don't really know what is the right way to proceed, and Labview has maybe one trick in his bag that I know to work around this problem.

    Thanks in advance for your suggestions,

    Alex

    Flank the node invoke with two nodes in the value property of the control to maintain the value. To the left we read as well as a right and the wires together. Connect three nodes with a thread of error to establish the order of execution.

    First reading place value on the wire, which is then written after the values have been reset to the default value.

Maybe you are looking for

  • The upgrade and reuse

    I rebuilt a computer which is now suitable for windows 7, and I want to use my front disc with windows xp on an old computer.  Can I enter a different computer with the xp disc, or could I take the hard drive with the operating system xp and put it i

  • How to root xperia mini pro black sk17a?

    I have this mobile phone with Android 2.3.4 with the 4.0.2.A.0.62 firmware, can someone tell me how the root the simplest im

  • F4580 won't perform OCR (editable text analysis)

    Hi, I just bought F4580 and it works great except, because there is no option to scan a document and perform the OCR (OCR). I have the options to scan the document, but all the options indicate that it will be parsed as an image. I read in the manual

  • CURSOR FREEZESAFTER SLEEP

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! After "sleep" mode my cursor freezes, have an advent Pc Windows Vista, no new hardware or software added, it's an intermittent fault please help

  • Cannot print from printer Epson Stylus Collour 850

    Original title: Epson Stylus Collour 850 printer I have a printer Epson Sytlus color 860, connected to my laptop but it cannot print.