CRASH: Replacement of the enumerations in the State diagrams can shoot down LabVIEW 2012

Environment

Windows 8 64 - bit, 32-bit LabVIEW 2012

Steps to reproduce

  1. Open the attached draft
  2. Open Statechart.lsvc/Diagram.vi
  3. Double click on the blue Transition in the Middle, navigate to the guard
  4. Make a right-click on the enum constant-> replace-> select a VI...
  5. Choose 'Enum 2.ctl.
  6. 'Select the VI to open' dialogue box appears again. Reselect "Enum 2.ctl.
  7. Observe the first weird behavior: block diagram of the guard is replaced with the front panel of the enum
  8. Click on "Cancel".
  9. Double-click the blue Transition again. LabVIEW crashes here.

Error messages

I first encountered this in a large project with a complex of state transitions. This was the message indicated before the death of LabVIEW:

With the small example that I have attached, there was no message at the time of the accident - LabVIEW just abandoned in silence. When I rebooted it showed (tested twice, same message):

Hi JKSH,

Sorry for the incorrect post, I was talking with one of my colleagues on this issue. I was able to reproduce this problem on Windows 7 32-bit and LabVIEW 2013 (32 bit). I filed a bug report (called the request for Corrective Action or CAR) on the issue. The number of CAR is 421985. You can use this to track when the CAR will be fixed because there will be a list of cars that are resolved in the release notes. I also wanted to put that workaround for this error is just to add the VI manually, then delete the original VI (instead of use the substitute function).

Thank you for helping us find this bug.

Thank you

Best regards

Bill

Tags: NI Software

Similar Questions

  • I would like to remove the old PC at some point and I would like to ask for suggestions for a replacement of the software or can I run FrontPage on Windows 7, 8 or 10?

    Original title: Homepage

    I use FrontPage 2003 on an old PC. I would like to remove the old PC at some point and I would like to ask for suggestions for a replacement of the software or can I run FrontPage on Windows 7, 8 or 10?  If you can offer a replacement, I need something that is designed for a beginner

    Thank you

    Patti

    According to Microsoft Office FrontPage 2003 free download

    It can run in Windows 7 or 8.  I remember installing several times for a friend who used it to modify its Web page in Windows 7.

    If necessary you can use the Compatibility Mode which tricks spies into thinking that its installation of XP or earlier.

  • Cannot install the state diagram Toolkit

    I have LabVIEW 2009 and 2010 is installed on my machine. I use the former state diagram Toolkit for many programs. Usually, since the tool box works with a single version of LabVIEW, I installed for what version I need, then if ever I need to use it in different version of LabVIEW, I uninstalled the Toolbox, and then reinstalled for the other version of LabVIEW that I want to use. A bit of a pain, but it uninstall / installs quickly, and I don't have to do all that often, so not a huge deal.

    I did this procedure several times, but more recently when I tried it, the box tools uninstalled without problem, but when I go to re - install the Toolbox, it gives me an error saying 'not installed LabVIEW 7.0. Run the program installed LabVIEW 7.0 (or later) before running this installer". Which installer may find out who isn't there anymore?

    Hello

    I'm surprised to not see JB answering this thread, as I know, he is a lover of the SDE. Maybe he's on vacation!

    To install SDE for another version of Labview, you must locate the following folders from the EDITOR (in the draft) and copy them into the new version of LabVIEW:

    C:\Program NIUninstaller Instruments\LabVIEW x.x\examples\statediagram

    C:\Program NIUninstaller Instruments\LabVIEW x.x\resource\plugins\statemachine

    C:\Program NIUninstaller Instruments\LabVIEW x.x\vi.lib\addons\statediagram

    So to install the Toolbox of the CD once, then copy it to the other version.

    I hope this will help you.

    Best regards

  • Why the continuous measurement and Logging in LabVIEW 2012 Project uses strings instead of Enums and orders from the queue?

    Hello!

    I noticed that the continuous measurement and a project in LabVIEW 2012 Logging using chains instead of enums and orders from the queue. I wonder if there is a good reason for it?

    Kind regards

    Anguel

    First, string vs enum debate is probably the version of LabVIEW vim vs emacs. There are good arguments on both sides, and I doubt that there is always a "winner".

    A brief summary of our reasoning for the current state of the project examples:

    1. We used enums for the state machine because it is self-contained. A state machine will never tell himself to enter a State, he does not know. Knowing (as the programmer) all possible States with the help of an enum allows you to enlist the compiler in order to help us avoid mistakes to change the time (because you can't quite out an enum and LabVIEW can be said if you are not covering all cases to a structure of the case, etc..).

      Enums provide greater protection and rigidity by ensuring all withdrew at the time of publishing. This is often the 'default' recommendation that we do.

    2. We used strings for messages in queue manager because the producer of message and the message handler could be independent processes that are reused or traded. Channels avoid the need for the compiler to be able to connect the orders and push this responsibility to the programmer. This allows you to develop some sub-components independently as long as you agree to a series of channel commands that you can manage - you need not to share a file 'messages.ctl' or 'states.ctl '. It is conceivable a loop of message management a message it does not, how you can decide to either silently ignore it or will trigger an error (as we do in the model). The strings make it also easier if you want to swap the queues of LabVIEW outside by a TCP implementation for network vacilitate or intra-Processuse communication where the other end may or may not be written in LabVIEW.

      Channels to provide more flexibility (that is, you can add new commands to an existing via plugins system, you can pass parameters as part of the string, etc.) at the expense of pushing her potential errors at run time and to put more responsibility on the programmer.

    3. The actor's gifts frame a 3rd option - using classes such as messages. For me, it combines many of the advantages of these two enumerations (strictly typed, change errors) and strings (flexible and scalable), but with the disadvantage of being somewhat less transparent (you understand OO, be comfortable to navigate through a multitude of screws, legacy of understanding, etc.).

    I don't know there are other reasons, others to the breast OR had or seen as we validated models and examples of projects in-house, but here are my reasons. We know that we can not design for each situation there - our goal is to get useful models against new users to make them aware of what well thought LabVIEW programs are similar to experienced users know their applications better and I hope they do not hesitate to change what we provide or create their own designs, when they feel it's necessary. (On a side note, please share what you come up with - a community of experts sharing models would be really useful to us all LabVIEW users).

    Best regards

    Simon

  • Register the event on the target in real time using LabVIEW 2012

    Hi all,

    It seems that LabVIEW 2012 RT does not support user events. Screws are not in the range of function and the help of LabVIEW says that it is not supported. In LabVIEW 2010, everything seems fine.

    That's happened? We need this feature.

    Thanks in advance.

    Hello

    Thank you very much. We will use this workaround, which is not a lot of work if you know what to do. Develop a VI on workstation and the execution of switching left target to the low edge also implements the correct block as well as feature diagram objects.

    This can be fixed in the next patch-Patch because a lot of users could by irritated by this behavior?

    Thank you

    Tyler

  • Satellite A50-110 crashed - replacement of the CPU

    Hello.

    I should say this microprocessor appreciate supports laptop Satellite A50-110, crashed and they wanted change.

    Thank you

    Hello

    You want to replace the CPU?
    Do you think its faulty?
    How did you check that?

    To be honest this A50 is truly oldie the CPU that was used is Intel Pentium M 725 (1.60 GHz, 2 MB Cache, 400 MHz FSB, L2)

    I'm not sure that this chipset was built in but generally if you want to use the new CPU, ensuring that the chipset would support the new processor.
    But even if the chipset would support the new processor, there is always a question regarding BIOS support it might be possible that BIOS wouldn't treat a new CPU.

  • HP deskjet 656c what replacement of the ink cartridges can be used in this model?

    Hi all

    This is my first time here so please bare with me!

    I have a hp deskjet 656c printer that accepts ink color cartridge n ° 49 (hp51649n 11ml) and

    black ink cartridge (c6614n 14ml hp) no.20.  I tried several shops and can't locate

    These at all. Can someone please tell me if these special cartridges are still available or if they

    have been replaced by another numbered canister.

    I had checked the lists of products, but those listed was an additional letter after the "n" of the cartridge

    number and the cartridges that I don't. I can't afford a new printer at the moment so if

    Anyone know where to buy these cartridges or alternative, your help in this matter

    It would be appreciated.

    Thank you very much in anticipation.

    Concerning

    vse19

    The Site of HP SureSupply here lists the following references (to the United States, check the SureSupply site if you are located elsewhere.  The cartridges will be available by mail order from HP or other provider, if you cannot find them in local stores.

    The letters after the part number are generally not important, they indicate areas.

     
  • Post my crash report in the hope someone can help.

    bp-5d3f4251-41c2-449c-b8df-12ddd2140416 4/16/2014 1:59 PM
    bp-d4457277-8fab-40a0-947a-f30572140416 4/16/2014 9:18 AM
    bp-4120be29-b0f9-40c4-8798-23efd2140416 4/15/2014 6:03 PM
    bp-6ec99c93-5331-4c67-9629-de5492140415 4/15/2014 1:10 PM
    4ab306c2-d15c-4527-a24c-02634f0b4621 4/12/2014 12:21 PM
    

    After spending too much time and try everything suggested (thanks everyone!) Finally, I realized that it was HTTPS Everywhere extension which was the cause of the accident. Once that has been disabled (yesterday) I have not crashed once. I can experiment in another day or two (if I don't crash), turn it on and see what happens. I thought it was a FF extension so not really sure why it could cause outages. FF should certainly look into this and fix the glitch or warn users of the potential problem.

  • Vista crashes frequently after the update of last Tuesday (May 8, 2012).

    My Vista computer has been completely stable for several years until that I installed the latest update. Now it's the gel with an disk activity but the cursor is frozen and the Task Manager are not available. Once it bombed just completely and the hard drive must be recovered.  Any ideas on what could be wrong and how to fix it.

    The problem now seems to have resolved itself.  We checked the newspapers anti-virus (avast!) and there was a huge spike in activity when problems are happening.

    I noticed that when avast! is active, it picks up the computer for a while - with the mouse, the keyboard and the Task Manager refused to function.

    Usually, it's only for a few moments, is not a problem.

    There was a continuous activity of avast! After that the Windows updates were first applied. The symptoms were exactly like the momentary avast! I have known "purchases" from time to time. They were only minutes not moments. These are the problems that I have for the first time.

    The disc has been restored. Updates reinstalled without problem and the computer is now back to normal.  Thanks for looking into this and for your advice.

  • On the Amex website, can not down load my current account. Works perfectly with IE.

    I can see my current account, but the download tab does not work. I called Amex and they are aware of the problem and said that it was a FireFox problem to correct. IE work fine.

    Ok thank you. I just can you send me a private message so I can place your email address on the bug. Thank you

  • binary passage replaces the State after commits

    I have a binary switch unique control of four similar processes.  I use an EVENT_COMMIT to trap the change in his condition.

    However, I notice that because of hardware lag on the side of the output, the State of the binary switch (off to ON) takes a long time to change.  Indeed, visually LabWindows is not updated the State of GUI control until after all the stuff that happens in his recall.

    This seems a strange behavior for me.  The help topic for the control States:

    If the binary switch mode is warm or validation, a validation event is generated when the binary switch is active and you change its status.

    That does not imply that the GUI would lead the control in another thread, while the callback is processed?

    I also tried EVENT_VAL_CHANGED, but who behaved the same way.  Is there another type of event or mode of operation I could try so that when the binary file is changed, the GUI is updated immediately and the callback is processed at the same time?  I don't want that there is some lag so that my user is trying to hit a second time the binary!

    ElectroLund ha scritto:

    That does not imply that the GUI would lead the control in another thread, while the callback is processed?

    No: the Visual representation of the control is updated at end of reminder, so if the recall is long to run, you don't see the switch state change until the treatment ends.

    You can inform the user that something is happening by using SetWatCursor (1) early reminder and SetWaitCursor (0) to end of reminder, or force an update of the UI calling ProcessDrawEvents () somewhere in your code (but if there are several GUI updates in the meantime time can slow down the recall in a moment of junk.

  • OfficeJet Pro 8500 a: replacement of the print head

    No yellow does not print at all, who are considering the purchase of the Black/Yellow Printhead to fix this problem.  Just replaced the yellow w/HP cartridge cartridge.  Printhead cleaning several times, tried the alignment (failed twice).  Printer is relatively old (model CM755A, CN12OBR1JJ series) and warranty expired in 2012.  Should I buy a new printer, or replace the print head will definitely cure the problem?

    Hello

    In most similar cases, the replacement of the print head can work sometimes and sometimes not.

    and given that the printer is a bit old, I'd say for an upgrade.

  • VBAI state diagram flow/use

    I am new to the use of the VBAI so please forgive the newbie question.  In my state diagram, what is the effect or the consequences of the closure on point of States instead of going to the 'end' previous?  Basically, I check if the bad parts and set variables by parts passed or failed.  If the number of consecutive parts exceeds a certain number, then I wait for the user to activate a switch.  In the diagram of State, after that reset switch is toggled, I loop at the beginning of the State-transition diagram.  Should I loop to the beginning of the State after a reset diagram, or he conduct the 'end' to start the state diagram?  Here is an example:

    The States-transitions diagram you have is fine. Somethings to keep in mind to go to the final State:

    -It increments the number of iterations variable integrated system... you can't do that in your case in all cases.

    -After going to terminal State, the State of product selection will be executed. If you don't do product selection, it's fine. If you choose a product, you will not be able to pass inspections products while you wait for a user to press the toggle button.

    -After going to the terminal State, all results are deleted so users don't accidentally use the results of a previous iteration and think that it is valid. If you are not going to the terminal State, all results will be kept around and you may not know if a result you are using is a State that has been run before going to your 'Bad' State or after. This is not a problem with your state diagram as you go always to the first State after bad, but in more complicated state diagrams you could get to a situation where you want to use a previous result and you know not if result from the image prior to the failure or after that, according to the paths that you take before and after the bad part.

    Hope this helps,

    Brad

  • Invalid product key: Re-install WinXP Pro after crash of HD and replacement on the old computer.

    After the hard disk crash and replacement on the old computer, reinstall Windows XP - Pro.

    I have genuine WinXP Pro, with product key, etc. on the sticker on the computer.
    Install does not accept the product key. Error: the product key is valid.
    Several CAREFUL attempts, so I do not know as I type the key correctly.
    New HARD drive is SATA (former was IDE), so need to massage WinXP to accept SATA install.
    Set of installation is Windows XP Pro SP3, with SATA drivers (with n - Lite).
    Help!

    When is the key being denied? -Keep in mind that there are "excluded" characters (for example, 0 and I etc.) and those that are very easily confused (8/B, 2/Z, etc.) and, if the answer is in the system rather than by the activation servers, it is likely that this is the problem.

    I can only suggest that you keep plugging away with the product key update tool until you find the right key.

  • computer crashed, used the backup to restore, formated instead and charged in the State of origin. any chance to recover photos lost at this stage?

    computer crashed, used the backup to restore, formated instead and charged to the State of origin, no chance to recover lost photos at this stage?

    Hello

    It is a good free program to recover data. but no guarantee.

    http://www.Piriform.com/Recuva

    You may need to contact the data recovery specialists, who are very expensive.

    See you soon.

    p.s., You use your computer, the less chance you have of data recovery.

Maybe you are looking for

  • key sync error

    After you have reinstalled windows 7 I clicked the Sync Configuration in the menu Pass and username is correct, but touch sync displays error"Wrong key". Why is this? the key is not produced,... I changed the time I created by and used for more than

  • Problem with stand-alone application

    Hello. It's my first time here in NOR. Need for support from the masters. This is the situation. Main problem: image display When I try to do a stand-alone application, the "image display" vi will not work. I'm missing DLL here? Nothing seems wrong w

  • programs works do not, impossible to find, more. Help, please! (Vista)

    I need serious help and hope someone can give me an idea what to do. I booted up my computer and noticed some of my desktop icons disappeared, then I noticed that most of the elements in my taskbar weren't appear something tried to install (turned ou

  • Can't access the internet, the error message: runtime error! Windows/system32/spoolsv.exe

    I noticed my extra long taking computer to start from a few days ago.  I can't access the internet until the second message appears after the error message.  This message says "spooler subsystem app stopped working and was closed".  I have Norton 360

  • Recovery of free space Compellent

    Hi guys, I installed a new Dell SCv2020 Compellent storage with vSphere U3b 5.5 for an existing customer I have a deep knowledge of Dell PowerVault storage, but I'm new with Dell Compellent. I read that the snapshots for backups or running Storage vM