Call a vi as a Subvi popup

Hello again ~ new new week question.

Can someone help me see this code? http://www.NI.com/example/26146/en/

I do not have a version soon enough to see this.

I'm trying to use this logic to call a monitoring/alarm total page vi as a bubble that does not interfere with the operations of the main vi. I have the two vi in the lvprog, but has problems trying to call forward and then close it. I tried to use a variable shared as a caller, and it doesn't seem to work for me.

The other problem is when I try to make the page alarm a sub - vi that he does not like the only interaction of code with the front block diagram is called from the main vi. which means that the vi alarm does not all IO except what comes of FPGA real-time modules. I tried to add callers Boolean to alarm vi and terminal block but still not get the vi to respond correctly.

If the link above is not the best way to do it in lv2013 is no problem because I was hoping he would get me on the right track.

I don't understand how you could use a shared variable and looking at the code version 5 is not the best approach. Look at the examples supplied with LabVIEW and search for asynchronous. There is the start Asynchrous call, run a VI method, call for reference with reentrant clones, etc..

Tags: NI Software

Similar Questions

  • How to call navigation flow task after closing popup inline?

    With the help of JDev 11.1.1.3; I have a commandButton control that is currently executing workflow navigation when you press. But I need to invoke an inline popup button press on ahead of the navigation of workflow (conditional). The action parameter on the button should then be deleted, but it is not clear where to restore them. I have the button running some managed code bean that conditionally invoke the popup inline, and when the popup (contains FY: dialog) is closed, I have a few more managed bean code that determines if navigation workflow should happen or not. What I need to know is how to trigger the Action of the managed bean. Any suggestions?

    Thank you

    I understand you right, you want to call another action from the bean code?

    If the action has an earpiece attached to it, you can call the listener from your bean code method.
    Or you can use the navigation Manager to navigate to the target names:

    ...
                FacesContext context = FacesContext.getCurrentInstance();
                NavigationHandler nh = context.getApplication().getNavigationHandler();
                nh.handleNavigation(context, "", "NEXT_TARGET");
    ...
    

    Timo

  • Open a Subvi and run automatically

    Hello everyone,

    I ve a structure of the event in which a Subvi is called by server of VI. I Don t want the main VI to freeze I turned forward until it is turned off.

    But the Subvi is called and in edit mode. How can I call the Subvi and run automatically?

    Kind regards

    Wilbur

    Hi Wilbur,

    Good afternoon and I hope that your well today.

    Thanks for the post.

    The VI property Exec.RunOnOpen is not necessary - if you are using Server VI, this property is ignored - and your using the method run a VI in any case.

    I think that your problem is with the configuration of your reference open VI. If you set the entry to zero (0) options it works? It does for me. And if I said that admission to 8, it load in edit mode.

    The problem that I believe is in the detail of the reference open Help content. When the reference is destroyed in the server called VI VI VI is shorter.

    For example, I have a small delay between my RunVI (wait that fact - false) and the reference close VI. After the period of my called VI stops.

    What results you want to achieve? You try to call a reentrant VI? If so, please take a look at the following example

    Load and call several Copies of a Subvi using VI Server

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4192

    Please let me know how found you this information.

  • Thanks to the setting, frozen Subvi Labview 10.0

    Hello

    I had a strange question. Same program, same Subvi - it used to work. When came Subvi, the Subvi popup and users can interface with it. I'm not sure what I hit, the Subvi will if using step function, but no work for continuous operation. What I've noticed, it's in the block diagram, when I right click on the thread for the breakpoint, the function is not listed it more - essentially the probe functions are hidden.

    What has the parameter triggering functions to hidden?

    Thank you

    Ott

    your proerties "test sample.vi" (properties of the VI... appearance of windows... customize) are set to "modal". Set it back to normal.

    (A modal window will be above all other windows and will not interact with other labview windows, such as your Subvi. Check the help)

  • make a Subvi do something on first convocation

    Hello

    I have a Subvi I made and I want her to do something the first time that it is called as long as the delivery of the program, it should do something else.  Right now I have a "First Call" function connected to it, and they spend a tru the first time my Subvi is ecounterd and a flase each other times... it works... but I was wondering if there is a way to get rid of it within the Subvi itself?

    Thank you!

    Why you do not place the 'first call?"primitive within the Subvi?

  • Error code 404 on stubborn workflow first call - IE

    Hello everyone

    I user JDev Version 11.1.2.3.0

    There is a strange situation that I feel right now. I have a bounded task flows in my adfc-config. XML called as an inline-popup. When I call on the application running the popUp appears and it works fine, except on a specific situation. If you use IE (note: I have IE 10), when I call the above mentioned the workflow for the first time (by clicking a menu item) the popUp content is replaced by this message:

    Error 404 - not found

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.4.5 404 not found

    Server not found anything matching the request URI. No indication is given whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (refused) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through a configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    If I close the popUp and call it once, it works very well, showing the appropriate content. If I navigate to another page, it happens again (first call-> error code 404, following calls-> works very well).

    What is the problem? It only happens for IE. On Chrome, Firefox etc. it works fine

    Thanks in advance!

    FYI, I tried to run my application in 12 c, and it works as it should. Unfortunately go to 12 c at this stage of development would require making too many changes, so I'll look for another way to reach my goal. Thank you for you answer

  • Refreshing data in return of a stubborn workflow (popup)

    JDeveloper 11.1.1.6

    I have a main page that calls a taskflow bounded as a popup. One of the actions is a workflow bounded to add a line in a VO that is used in the home page.

    After you add a line in the VO in the stubborn workflow, the workflow is completed. Unfortunately, the table in the home page is not updated to show the new line added.

    I tried the following techniques to update the table in the home page, without a bit of luck:

    1. Add call action to run the executewithparams in the page to refresh the VO.

    2. added run method to run executewithparams in the stubborn workflow.

    Any suggestion?


    Thank you.

    I don't think you should call executeQuery once again because the same view object is used on the home page and the popup.

    What are the properties of the delimited taskflow transaction to view the pop-up window? Are you sharing the data controls with the workflow calling for the popup?

    In addition, if you share the data controls, you can try to refresh the iterator binding (by table) instead, run the query again.

        DCIteratorBinding = iterBinding
          (DCIteratorBinding) bindingContainer.get ();
        If (iterBinding! = null) {}
          iterBinding.refreshIfNeeded ();
        }

    In addition, to refresh the component af:table to close the pop-up window.

  • Popup + before the stage listener + problem commandlink

    All,

    I have a phase listener configured on a page to open a popup and it works fairly well, i.e. the popup is open when the page is loaded. Now, I want to show the popup even when the user clicks on the commandLink. So I configured the commandLink to have a showPopupbehaviour as his child. The question is when I click on the order link that the popup is not opening. However if I remove the call to forward phase listener (), the popup is get called from the command link.

    Please advice what's wrong in this case? Ideally both should work independently.
    I tried to address the immediate and automatic submit also but no effect.

    thnks
    11.1.1.5 Jdev

    Hello

    using af: showPopupBehavior issues a request to the server, which then also is treated by your phase listener. Add some logic to your phase listener for does not work when you press the command button. You can for example define the command button on partialSubmit = true and then check if the request is a partial request AdfContext.getCurrentInstance () .isPartialRequest (facesContext) in this way the listener of phase opens the popup when a page loades but is no longer after.

    Frank

  • How to identify the call to the server before that happens?

    Hello

    I need to show the busy popup whenever the server call occurs. I am able to do this by adding < af:clientListener > tab inside < af:commandButton > or < af:selectOneChoice > tags everywhere where I need and open the popup occupied on the client side.

    But I want to show this popup when call Server comes... I don't want to fix < af: clientListener > to all components. Instead, I want to identify the call to the server before it happens and to write the code to open the popup in a common area of a more generic way.

    I noticed the < af:StatusIndicator >. It is able to identify the call to the server until it happens and show the image of busy.gif instead of connected.gif.

    How does it work? If it is able to identify, so that I can use the same logic to identify the call Server and show the busy popup.

    Any idea?

    Thanks in advance.


    Kind regards
    Julien V

    Hello

    see the example #27 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

    its exactly what you ask for

    Frank

  • Problem with opening an af:popup

    Hello

    I create a simple project that does something like this:

    < af:form >

    < af:inputText id = "1" / >
    < af:inputText id = "Number2" / >
    < af:commandButton action = "#{mybean.makeSum}" / >

    < af:popup id = "popupResullt" >
    < af:outputText value = "is the sum: #{mybean.result}" / >
    < / af:popup >

    < / af:form >


    # In my backBean:
    public void makeSum() {}
    This.Result = this.number1 + this.number2;
    }


    Problem: How to open the context menu and run my method "makeSum.

    I tried to do this:

    Attempt 1:
    < af:commandButton action = "#{bean.makeSum}" >
    < af:showPopupBehavior popupId = "popupResult" >
    < / af:commandButton >

    Problem here: the popup is open, but the makeSum method is not called.

    Attempt 2:
    < af:commandButton action = "#{bean.makeSum}" >
    < / af:commandButton >

    Here I I invoke the popup to my grain of support with this code:

    # In my backBean:
    public void makeSum() {}
    This.Result = this.number1 + this.number2;
    ExtendedRenderKitService erks is Service.getRenderKitService (FacesContext.getCurrentInstance (), ExtendedRenderKitService.class);.
    StringBuilder strb = new StringBuilder("AdfPage.PAGE.findComponent(\"popupResult\").show ();");
    erks.addScript (FacesContext.getCurrentInstance (), strb.toString ());
    }


    Problem here: the popup is not open, but the 'makeSum' method is called.

    My Question: How to the best way to call my method and open the popup of too.

    Thank you.
    Victor Jabur.

    Hello

    If you're on JDeveloper 11.1.1.3 then you can open the pop-up window of Java. To do this, you create a binding component to a bean managed the "binding" of the af:popup component property. This creates a getter/setter for RichPopup. The RichPopup exposes a method to open and close a pop-up dialog box

    Frank

  • URGENT: issue of Microsoft popup task flow

    All,
    I have a requirement to illustrate a dialog popup logic in the workflow of ADF. So, let me give you an example.

    You have a page with a command button to this topic. You click the command button to run a java method. This java method then returns a value, and according to this value, I want to show a popup in the Visual context of the original page (which means that the background of the original page is grayed out and you see the bunk popup). From there on, I want the user to select an option and then allow a control flow from the popup other interventions accordingly.

    Here's what I tried.

    1. I tried a workflow run as a dialog box, but the return only goes back to the command button, never of itself. IMO, I would love to see that to be changed to allow the flow of control of a popup to continue.
    2. I tried the dialog box: frame, but that only works when you go directly to your popup and not do anything in betweem, as a method.
    3. I have tasks flow that is not run as a dialog box, even if I tell the button to run as an external window. It simply replaces the original page.

    Is there a way to do this?


    Thanks in advance!

    Hello

    This is possible even with the solution I documented here: http://oracle.com/technology/products/jdev/tips/fnimphius/popupinuishell/declarative_popup_in_uishell.html

    You can use a workflow activity call to launch a popup. The return of the context menu then determines the second stop of the navigation. Beside that, navihation always is from one view to the other and does not stop in a method call activity. For this reason you cannot use a method call activity to directly open the popup

    Frank

  • Change properties on the fly pop-up

    Hi all

    I'm stuck with a problem.

    Description of what I have:

    I have a MainVI that calls a Subvi. The Subvi is dependent on the MainVI for some entries. In other words, it would give an error if I called one Subvi . In addition, there are a condition to reach the part of the code that runs the Subvi. In other words, the Subvi does not, as soon as I launch the MainVI

    Description of what I want to put in place:

    What I want to do is, I want a switch on the MainVI, such that, when I start it ON any time, I can SEE the Subvi popup (please not the Subvi should not run because it gave an error)

    and when I turn it any time, the popup Subvi should disappear.

    I'm having problems:

    1. I cannot change the properties of 'Appearance of the window' the Subvi as I need appear / hide according to the control of the switch.

    2. I tried to use the 'State' property, but that only works when the Subvi is executed. But I just want to see the Subvi, even before his execution

    Help, please!

    Here is an example.  The main feature is here.  You must decide how to spend the Subvi reference.  I put in a period and a universal joint for this example (seesaw for breaking the action "run Subvi" back to false, do not know why the extract makes this property node look funny).

    I'm guessing there are a few additional ways or considerations, but this example was the VI open and close the front panel without running the Sub.   You can then run the sub too.  Of course your VI will 'do' the Subvi another way.

    You can run the code snippet, but you will need the Subvi, so I have two attachments also.  In addition, change the directory to the path of Subvi.

    See the façade = True in the FP method. Opened.

    ***

    OK, the code snippet took my property to the Boolean value and he changed a reference, weird, but understandable.

  • Problems of access to another screen

    Hello

    I have a little problem.

    I have a main screen with two commands. > Connection and operation.

    I can access my login information and no problem.

    When it bounces back to the operation, I can't go to my screen.vi of the operation.

    Why is it so?

    PLs recommend it.

    Thsk N RDG

    Titano

    Of course not. Look at how you set the VI properties > appearance of window in the opening of the VI session. It is customized.

    However if the VI connection isn't your code, you probably don't know anything about. Before doing anything on the other, you can spend some time to take take the tutorials.  The process for the VI of connection is also explained in an example shipping to the France. Search for an example called Demo dialog box and look at the diagram of the Subvi popup.

  • Insert the formula pop up menu

    Hello

    I have a pop up menu with five different choices in it. I also have a date next to each choice, basically I want to insert a formula into the pop-up menu to tell if it is beyond the date in cell A1 then change the pop-up menus to choose from one of the options automatically without having to click on it myself. Is this possible?

    Thanks in advance

    Rob

    Hi Rob,

    You ask what I would call dynamic or auto update of popup windows. Unfortunately, this is not something that can make numbers. Would it be possible to have a cell next to be updated according to the date and the choice of the popup. If you need help with that, please provide more details.

    Quinn

  • Integrated webcam has stopped working.

    Hello

    I am facing this problem for a few days. I was able to do video calls perfectly. Daily 2 sudden return after rebooting my system, connected to Skype, when I tried to do video call, I started to receive a popup below:

    When I check with the form of 'Change profile image', it shows no more picture in the webcam. It is said that it can not detect the webcam.

    I checked my device drivers and it says that my webcam works properly in the State.

    I also tested with other applications and the webcam works all fine.

    After research in some support forums, I also installed the latest version (6.3.0.105) and already old version (6.2.59.106). But still my webcam does not work.

    I need webcam to make video calls daily.

    Appreciate any help with this issue.

    Thank you.

    Mayu.

    Try to return to the 6.1.0.129 version using this msi installer:

    http://download.Skype.com/SkypeSetup_6.1.0.129.msi

Maybe you are looking for