Non-deterministic order of LabVIEW 2012 SP1f5 events

The attached VI may be used to demonstrate that the order that the events are handled by the structure of the event is not deterministic. (i.e. which cannot be inferred from the order in which they are generated). Placing the generation of user event at different locations in the sequence renders unexpected results. In LabVIEW 2013 but the behavior is deterministic (i.e., it follows the logic that I always apply, events are handled in the order they are generated.

My question:

Can anyone confirm this in 2012 (bad behavior, IMO) LV and LV 2013 (expected behavior, IMO)?

We must make a choice to move a major to LV 2013 project as soon as possible or it differ a bit.

Thanks a lot for people who are trying.

VI is recorded in LV 2012.

I cannot look at the code, but according to the description, this sounds like what has been discussed in this thread - http://lavag.org/topic/9986-out-of-order-events-is-not-a-bug-sort-of/

The good news is that changes made to events in 2013 also includes the fix for this problem, so I would say that you need to update (or use one of the workarounds described in this thread).

Tags: NI Software

Similar Questions

  • LabVIEW 2012 while the structure of the event does not stop

    I am LabVIEW 2012.

    An example of a while loop with the structure of the event inside can not be stopped with the stop key, Boolean.  Something wrong?

    Please see the attached VI.

    Thank you.

    Yes, something is wrong. You must add one for the event in order to detect a change in value on the stop button.

    The thing is now your structure for the event rest waiting for one of the event which she handles and ight now, it handles the "close panel" event, the 'timeout' event is too manipulated, but since you do not have anything related to the terminal of timeout (top left of the structure of the event) the timeout is - 1. So, when you run the VI the while loop is stuck in the first iteration and is waiting for a sign nearby, the stop button will only take into account after that same structure intercepts an event; I think it's because LabVIEW will execute the code related to the Terminal stop of the while until after the rest of the code that he has completed execution of the loop.

    Hope this helps

  • 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

  • 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

  • LabVIEW 2012 do not open

    My LabVIEW 2012 opens with a message that says operation side by side is not configured correctly.  I tried to open LabVIEW 2011 and he opened and I don't see the message, but it was very slow, as it opened.

    Before seeing the error, I did a repair on my Package redistributable Microsoft Visual C++ 2010 (x 86) and on my 4.5 .NET.  What is the best way to solve this problem?

    Thank you!

    I did a lot of installation and uninstall of Microsoft Visual C++ distributable, and which does not solve the problem.  I also did a repair for the 2012 of LabVIEW.  Later, I look at the event log, and who told me the LabVIEW.exe.config file.  I made the following change below, and that fixed the problem.  I don't know why but.

    LabVIEW.exe.config that caused the error






    LabVIEW.exe.config as the error correction





  • VI LabVIEW 2012 script: Method - delete not yet implemented framework

    Hi all

    I use screws LabVIEW 2012 script to delete the events to the event structure. For some reason, I get the following error

    Is it possible that a method is listed without running? Suggestions to overcome this is welcome. Thanks in advance

    Kind regards

    S.P.Prasaanth

    According to this http://forums.ni.com/t5/LabVIEW/Remove-Frame-Not-Implemented/m-p/2100644/highlight/true#M684629 post: Yes, it can be.

    But it seems that implemented in LV2013: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Configure-Event-Case-with-Scripting/idc-p/2523818/high...

  • Could not detect USB RIO 7856R in labview 2012 SP1

    Hi @all,

    Why I couldn't detect 7856R USB RIO in labview 2012 SP1? I already install drivers include DVD, see (USB-7856R) in max or, but can not add it to the project manager.

    Data sheet says its compatible (between LV2012 and 7856R)!

    Hey damienski86,

    According to the product page (tab "Panorama"):

    Required software 
    This product requires the LabVIEW FPGA Module 2013 or later Version and NEITHER-RIO Version 13.0 or later driver software.

    I think that you will have to go up to the latest software (2013 SP1 came out today) in order to be able to use your new hardware. Where do you see that the device is compatible with 12.0 specifications?

  • LabVIEW 2012 Installation error connecting to the server

    I'm trying to reinstall LabVIEW 2012 after I.S. replaced my laptop.  The new laptop is not a DVD, so they transferred the DVD and transferred the files from the DVD to a folder on my desktop.

    I select the option connect to OR check my serial number, enter it and select "Next >."  I immediately get an error message saying "an error has occurred on the server.  You want to try again? »

    It is that I can get.  If I click 'Yes', I get the same error.  Can someone point me in the right direction?

    (There is a Windows 7 computer)

    Thank you

    oxfat

    Oxfat,

    There could be some problems going on because of the age of the installation of LabVIEW and physical media that it is installed from. I think the process easier for you to generate an activation code based on your serial number you can do with this site:

    http://Delta.NI.com/nilg-activate/JSP/customer_activate_details.jsp

    In addition, here are some other options during activation if you always encounter errors:

    https://www.NI.com/license/product_activation.htm

    Finally, here's official National on activation in case tool tutorial you want to send this to your business in order to avoid future problems:

    http://www.NI.com/white-paper/11039/en/

  • Internet Toolkit for LabVIEW 2012 64-bit

    I have an application which is currently written in LabVIEW 2009. It requires the Internet. I try to open it in 2012 of LabVIEW (64-bit) (using Windows 7 64-bit). LabVIEW 2012 does not find the box at Internet tools since he has been deprecated in LabVIEW 2012, so LabVIEW complains.

    So I downloaded the toolkit LabVIEW 2012 Internet and tried to install it. When the Setup program tries to run, it stops with an error message that says:

    "NEITHER LabVIEW 2012 (32-bit) or more must be installed before installing OR.
    2012 Internet Toolkit LabVIEW. »

    Can someone tell me where I can find the Internet Toolkit for LabVIEW 2012
    (64 bit)?

    Thank you

    -Ray

    Since you seem to understand that the Internet Toolkit has been deprecated, I do not understand your question. There is no 64-bit version of the tool. In fact, it has very few tools that do not have a 64-bit version. In order to use the old, 32-bit version, you must use it with the version 32-bit LabVIEW, as said the message.

  • Cannot find FP write in LabVIEW 2012

    System: Win7 64 bit

    LabVIEW: LabVIEW 2012 (64-bit)

    I can't find FP read/write etc in LabVIEW 2012.

    I installed FieldPoint 6.11 and disk driver OR. Nothing happened... And I can't find "fieldpoint" folder in "vi.lib".

    I noticed that my Win7 "Program files" and "Program files (x 86)". The labveiw program was in "Program files", I think. But there is also a "National Instrument" folder in "program feels (x 86). I just used by default to install the labivew.

    Do not know why. Can anyone help?

    Hi Yang,

    FieldPoint is not supported with 64-bit LabVIEW.  I propose to install LabVIEW 32 bit and then see if you can see these FieldPoint VI.

    Kind regards

  • Error-63101 when executing the FPGA Interface C API Generator in LabVIEW 2012

    I'm using LabWindows CVI 2012 and 2012 LabVIEW FPGA module.  I try to use the FPGA Interface C API generator and I get the following error from a freshly generated .lvbitx bitfile.  I use the local server compiles on my PC.

    Error-63101

    NOR-RIO: A valid .lvbitx bitfile is required. If you are using a valid .lvbitx bitfile, the bitfile maybe isn't compatible with the software you use. Determine which version of LabVIEW was used to make the bitfile, upgrade your software to this version or later, and then try again.

    The problem occurs when executing CVI or LabVIEW.  I was able to do this earlier when I was compiling the FPGA in LabVIEW with the API generator 2011 downloaded from the Web site.

    A bit of weirdness in my setup, it's that I charged it off downloads from the website (latest files after 2012 NIWeek) rather than the normal distribution DVD.  I installed LabVIEW, so NI RIO, then the Xilinx tools compatible with 2012.  It works very well when you talk to the FPGA to a LabVIEW vi running on my Windows PC to the host.

    Any suggestions?

    Problem solved.  I had to download FPGA Interface C API generator 12.0.  It works now.

    I would have thought that if a product was called on the menu in LabVIEW 2012, it would be prompted to upgrade to a compatible version, when I installed LabVIEW.  The old version is not compatible with version 3.0 bitfiles, as identified on the following lines at the top of the .lvbitx file:



     3.0

  • Load a file EDS into LabView 2012

    Through research I found that DeviceNet Configurator is no longer available. I'm under LabView 2012 with IndComm/Devicenet 2.2 pilot. What replaces the DeviceNet Configurator? How to load the EDS files?

    Thank you

    Tennessee Paul

    My post here on a different topic, I thought that I would wear it to conclude this thread.

    Load an EDS file to the slave device

    1. Right-click on the slave device

    2. Select "Sheet"... »

    3. Click on add files...

    4. Navigate to the location of the EDS file.

    5. Select the file.

    6. Click OK.

    7. In the left pane, expand the data sheet newly added up to reach the node displays the version.

    8. Select the version.

    9. Click OK.

    Check the device and file EDS

    1. Right-click on the slave device

      1. Select utilities

      2. Select the Panel of Test online

    2. Select the option 'Device status' in the field of category on the left.

    3. On the right, select the slave device, you want to check.

    4. Click on "check the device".

    5. Read the errors/warnings or lack thereof.

    Edit the file EDS

    To change the EDS file, I used EZ-EDS , which is a specific devicenet EDS of ODVA freeware Editor.

    I did my corrections and saved my file EDS. (After having saved my original, of course).

    Remove the installed Labview EDS file

    1. Navigate to the following location: C:\ProgramData\National Instruments\NI-IndComm for DeviceNet\Datasheet

    2. Remove the sheet (Note: there is more that one datasheet added manually.) Additional EDS files come with the IndComm driver. Find the EDS file for the specific device that you want to replace and delete).

  • Error Code HDL with CRio RFP generation after update for LabView 2012

    Hello everyone,

    I use a CRio DP Comsoft master/slave module for my communication with a PLC system. The application worked perfectly under LabView 2011. After the update to LabView2012, I got an error message that the HDL Code generation failed. After that I've updated also the Software NI Profibus CRio in Version 1.3, but this n ' t´t solve the problem. The next step was to use the example of project code "CS_cRIO-PB_DP-MasterExample" which was delivered with the new NI CRio Profibus software. Even with this code example, the problem still exists. For detailed information on the configuration and the error message please refer to the screenshot. Any help or idea would be appreciated.

    Jürgen

    Hi Jürgen,

    I looked inside and could reproduce this error. Somehow the compiler with LV 2012 has problems with the coded 8.5.1 Subvi LV. Please use the attached VI and copy it to the following location. (\\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB)

    Before do you it please close your LabVIEW.

    Then try to compile again.

    Let me know if it still does not. We are currently working on a new installer that will correct this problem.

    DirkW

  • need to convert keithley 2500 photodiode double meter driver for labview 2012

    I installed the driver but found could not use it because the driver version is too old.

    Can anyone help to convert so that it could be used in my labview 2012? Thank you very much.

    There is a separate Commission for the versionhttp://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion of Conversion

  • Legend bug XYGraph slider blocks instantly LabView 2012

    Hello!

    I'm just facing a very annoying bug.

    Please find my attached VI example, I would like to know the weather, you can confirm the bug? Run the VI if you want to see a curve (in fact the bug appears even if you put all the data on the chart, if you do, all the same) and after that try to click the cursor vertical scroll bar legend to scroll upwards or downwards to see the cursor names.

    It instantly blocks my full version of LabVIEW 2012 Edition: 12.0.1f2 (32 bit). This XYGraph is still blocking LabView... I can't continue with my project, now I will just try to work around the error, I'll try to remove the sliders and then add them again...

    In any case, a very strange and very annoying behavior...

    Anyone could repeat the same bug?

    Thanks for the support!

    The reason for the accident seems to be duplication of the cursor "Gas_inject." There are four times. Using the property node 'CursorList' to remove these duplicates made the VI DO NOT crash when you move the vertical scroll bar of the legend of cursor.

    To simplify:

    Read the CursorList first, remove any duplicated the table manually in the indicator (right-click on the element > data operations > Delete Element). The change to a control, change the property node to write and run the VI once.

    Norbert

Maybe you are looking for