front panel called a Subvi, which calls another Subvi

Hello

I'm having a problem call a Subvi main façade, where the Subvi is called other two Subvi. My two last Subvi the hierarchy have references in order to see the results on the front panel of the Subvi. While that of the Subvi References work and I see the exit, when I try to reference the Subvi references I can't see the output on the main façade.

I don't know how to reference objects but I missed something? Thank you


Tags: NI Software

Similar Questions

  • Outsourcing of the controls on the front panel for a panel floating Subvi

    Hello!

    I already found a few similar topics, but I still don't know which is the best way to solve my problem. I will try to describe my problem in detail first: I have a main VI that acquires data from a device and displays these data in a large waveform graph. I have also a few controls on the front panel to control my device. First, I placed all of these device controls (digital, sliders, etc.) as well as the chart inside the front of my main VI. However, due to limited screen space now I would like to make the largest possible graph and so decided to "outsource" some controls out of the main façade of VI to several panels front-end Subvi.

    I would then press a button in my main VI and it would open the Panel before the floating of the Sub - VI corresponding with outsourced controls when required. However, everything must be absolutely transparent. It is important that floating panels to run in parallel with my main VI, that is the main VI must continue to operate. That way I'll have my data constantly updated in the chart in my main VI while I can change some settings of the device through the controls placed in my SubVIs. These changes will be immediately applied (for example as soon as the main VI calls this slot - VI in its main loop).

    It is important to the visibility of the outsourced optional control panel, i.e. If the Subvi front panel opens with the user that it will pop up and the user will be able to change the paramers device using the. But then the user should be able to close the front panel (hide) the Subvi to see the entire chart again without the Panel floating in front of her (of course control values must be maintained when the Subvi front is not visible). Then the new button is pressed in the main VI that opens the dialog box not modal Subvi containing controls and it can redefine new values of device.

    Advice how to do this are welcome. I don't know if I need something complex like VI server or asynchronous screws or I can solve my problem by changing some settings simple Subvi? Thank you in advance for your help!

    Best regards

    Anguel

    AStankov wrote:

    How about using a global variable for the VI at VI communication instead of a queue?

    A global variable will, also.  Write you in one place and read the value frequently to somewhere else (in the election). So you can see easily to any value change.  However, mark will waste a lot of time processor.  This is why I have proposed to use a queue or a notification utility.

    AStankov wrote:

    Would be the last option that you mentioned, i.e. finish the Subvi at each change of value, I would keep the Subvi front open as needed until things from the user to hide? Or would there be inevitable flickering Panel or any other drawbacks?

    Yes, the Subvi can keep the façade open until the user closes. And there should be no flickering.  The biggest drawback I see right now is that when you expect an event in the Subvi, the mainVI cannot stop without talking to the Subvi to stop.  So you'll need another channel of communication (again a global, a queue, a declarant or an event) to tell the Subvi that she must stop.

  • Security on the front panel does not work

    Hello

    I have a problem and a question:

    Problem: I created some controls on the front panel and some groups which they are responsible. Administrators can see and do everything, the operator cannot see some of them. If I build exe it works on development PC but if I copy them to another PC, it does not. It does not show these elements of façade. Areas are the same, SCADA, only the names of PC are different. The two computers are not in the same network. I create local domains and users on two computers through domain account manager. What could be the problem?

    Question: How can I create an access control list (ACL) and assign them to the elements of façade programmaticaly? What is the syntax? I have found no examples of code.

    Thank you.

    I found the solution. Maybe someone also needs:

    You must copy the folder C:\Program Files (x 86) \National Instruments\Shared\Domain development pc to other PC, in which you want to have the same field and same users. It does not have to generate the new domain with exactly the same name on another pc and generate new users. You must copy the whole directory of your pc to the other pc. It works now.

  • VI front panel does not close when it is done executing, when this vi was called by reference.

    I created a simple vi set to indicate the problem I'm having. I run dynamically under vi to leave a main application. Simply the main application is my test exec and the Subvi I call dynamically is different tests. In the example I have write here the criterion vi is called Test electric 1(vi). I configured this electric Test 1 vi to see the front when it is called and close later while initially closed.  Problem is that it doesn't close before.

    Other things to keep in mind

    • I want to be able to run the vi test and do not wait until it is done.

    I'm using LabVIEW 2012 SP1.

    Basically the fence after that call questions only if the VI is called as a Subvi (as if you open you a VI and run it, it does not close when it's done).  Are two ways to work around this or have your app high lvl close the VI when it's done, it's explained here:

    http://digital.NI.com/public.nsf/allkb/987B2026B41BD39786256CF800032E8C

    or having your VI close when it's done.  A reference of the VI and the front panel: Close call node.

    I hope this helps.

  • Is it possible to call a .exe (non-LabVIEW, such as Notepad) in a child windown on the front panel?

    I would like to launch a stand-alone .exe inside the front of my VI.  It is a piece of software by the provider of a sensor that I try to incorporate in my VI.  I was able to find how to call the .exe using the .NET constructor and invoke nodes.  However, the application opens in its own window.  Is there a way to run from a child window within the façade (ideally, within a tab on the front panel control)?

    I'm in LabVIEW 8.6.

    Thank you.

    smercurio_fc wrote:
    I don't think that it actually works. My understanding is limited about this feature, but since I read it only works with the pop-up windows and windows that are already children. The application's main window is not a child window.

    I've done it before.  I have attached a simple example using Notepad.  Make sure that the notebook is already open no open files.  Since the example is not the position of the child window, the position relative to the window will be the same, because it is off the desk.  So, make sure the upper left corner of the Notepad is close to the origin of the desktop computer.

  • How to call the shading on the front panel?

    Hello world

    Quick question and I was looking for, but I couldn't find on the front panel, but I have a waveform attached where I apply shading to the area between the two lines of standard deviation (see attachments).

    I was told that I could call him shading on the front panel by right-clicking, but I couldn't find it anywhere. Can someone please help?

    Thank you!

    TheLT

    Under fill options, you can fill in between different graphics.  To get there the legend graphic or through nodes of inter-generational

  • When calling another country gives the time in this country?

    When calling another country, Skype tell you the time in the country you call?

    Hello and welcome to the Skype community.

    N ° as currently configured the system does not support this facility.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Stop automatic checking of the parameters on the search panel Call

    On the search screen call, when we choose a customer location and organization fields on the search panel auto-fill with the current values of the client and the two options are checked.

    I know it's just trying to be helpful, but our leaders find it very annoying, because our organizational structure changes regularly and that is why we must always uncheck the two boxes of these search criteria to make sure we get all the calls for the customer.

    How to stop the location boxes and organizing be checked when we select a customer on the search panel call?

    Thank you
    Ian

    I guess you can find the solution here.

    Tell me if this is not enough - clear I'll give you a little guide.

  • In Captivate 7, how can I call another action in action?

    I have a conditional action called FakeSuccessRewind. Now I need to call another function, called ShowGrayBalloons02 of in the Else statement, but I couldn't find something like "Execute Action Advanced." Can someone share some advice here? Thank you!

    Here are the screenshots of my two actions:

    (1) FakeSuccessRewind (if/else). Here, I need to call the action 2 of the Else statement, under instruction to go to the next slide.

    if01.PNG

    if02.PNG

    (2) ShowGrayBalloons02. Note that this feature has five separate tracks when the variable is decrement of 5-1.

    show balloon.PNG

    Thank you very much!

    Melissa

    You can not, you add another action first.

  • Call another project

    I call another project in a project. It works very well, but what I want to do is call the second project, launch it and then when he finally continue with the original project, to the point where I called the other. I.e. play screens 1-5, gives the opportunity to execute the second project, if the user is running, then come back to the original starting screen 6.

    I don't see an option for what to do at the end of the second project to do (stop project, project of loop etc.). Or can it be done? Thank you.

    Hi bobelmore

    One thing you might be able to do is to launch the second project in a new instance of the browser. Your username would then close the browser, how they would return to the film, they were all first. The original film would not continue until they are back and clicked a button. To do this, insert a click box or a button that would call the second project. Notice that to the right of where you specify the project is an arrow down. Click and you can select 'New' to open it in a new window. Click a second time and you can deselect "Continue to play the project" (or "continue reading film' If you use Captivate 1)

    Hope this helps a bit... Rick

  • call another proc and passing the values in the exception block

    Hello
    I'm trying to call the procedure another passing values in the exception block... but I couldn't m figure out how would the values in the exception block
    create or replace procedure test_proc 
    is 
       cursor test_cur is 
         select update_dt from test_tbl;   
         
         test_rec test_cur%rowtype;
    
        begin
            for test_rec in test_cur
            loop
                begin 
                    insert into test_tbl values (test_rec.update_dt);
                    commit;
                    exception 
                       when others then
                         rollback;
                    --      test_proc2(update_dt)       --     want to call another procedure and want to pass that update_dt here ; this process will insert the update_dt into the message table    
                       commit; 
                     
            end loop;  
            
        end;
         
     
    
    My question is how do i pass value(update_dt) into the exception block or do i need to create any varaible ?? any idea 
    Thank you very much!!

    BTW, you can still use SQL % BULK_EXCEPTIONS even if you don't use EXCEPTION to LOG. You just can't use ORA-24381, since it will not be raised. Using SO many OTHER instead. And of course, there will be only one element in SQL % BULK_EXCEPTIONS:

    SQL> CREATE TABLE emp_temp AS SELECT * FROM emp;
    
    Table created.
    
    SQL> DECLARE
      2     TYPE empno_tab IS TABLE OF emp.empno%TYPE;
      3     emp_sr empno_tab;
      4     errors NUMBER;
      5     dml_errors EXCEPTION;
      6     PRAGMA EXCEPTION_INIT(dml_errors, -24381);
      7  BEGIN
      8     SELECT empno BULK COLLECT INTO emp_sr FROM emp_temp;
      9       FORALL i IN emp_sr.FIRST..emp_sr.LAST --SAVE EXCEPTIONS
     10         UPDATE emp_temp SET job = job || '_SR'
     11            WHERE emp_sr(i) = emp_temp.empno;
     12  EXCEPTION
     13    WHEN OTHERS THEN -- Now we figure out what failed and why.
     14     errors := SQL%BULK_EXCEPTIONS.COUNT;
     15     DBMS_OUTPUT.PUT_LINE('Number of statements that failed: ' || errors);
     16     FOR i IN 1..errors LOOP
     17        DBMS_OUTPUT.PUT_LINE('Error #' || i || ' occurred during '||
     18           'iteration #' || SQL%BULK_EXCEPTIONS(i).ERROR_INDEX);
     19            DBMS_OUTPUT.PUT_LINE('Error message is ' ||
     20            SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE));
     21     END LOOP;
     22  END;
     23  /
    Number of statements that failed: 1
    Error #1 occurred during iteration #2
    Error message is ORA-12899: value too large for column "SCOTT"."EMP_TEMP"."JOB"
    (actual: 11, maximum: 9)
    
    PL/SQL procedure successfully completed.
    
    SQL> DROP TABLE emp_temp;
    
    Table dropped.
    
    SQL> 
    

    SY.

  • Watlow DP front panel

    Hello

    Can anyone help. I am currently doing a project for College. Basically, my plan is to use labview to control a temp of DP watlow controller to turn on a heater off the coast. I want only basic as set functions of preforms and read the temperature and possibly graph temperature. I will also put in place a regular thermostat and relay to switch on and switch off the device and use it again the PDD to monitor and graph of this temperature. My project is basically to graphically display the benefits of PID regulation.

    Now, here's my problem. I'm pretty much a perfect beginner when it comes of labview and programming. I downloaded Labview instrument for the DP controller drivers, but I have no idea how to use. I got the connection from my laptop to the watlow via internet but I have no idea on how to get on the cat of my watlow labview. When I opened the drivers of instruments is just a load of Subvi and I don't know what to wire to the place where, or what to use to get a simple button on the front panel by increasing or decreasing the set temperature.

    Any help would be appreciated to massivly

    Thank you

    Hi, Declan,

    Yes, they are the right drivers. I assume you are using LabView 8.0 or later version. Just to help you get started, here is the link which explains the fundamental band of instrument drivers.

    Internally, the VI in an instrument is organized into six categories.

    (1) ' initialize VI"establishes the communication with the instrument and is the first driver of the instrument calls VI

    (2) "set screws" are software routines that configure the instrument to perform specific operations. After calling these VI instrument is ready to take the step.

    (3) ' command screw action/Status' the instrument to perform an action or to get the current status of the instrument or pending operations

    4 "data" screws from the instrument of transfer or date

    (5) "utility" VI run various auxiliary operations, such as reset and self-test

    (6) ' close' close VI ends the connection of the instrument software. It's the last pilot instrument called VI.

    There is a help function (?) the top tablet of your block diagram window, if you click on that and put your cursor on the VI it tells you the function and what it takes to be connected in VI. This should be enough to get you started.

    There are also a few examples to the finder OR example-> entry material / output-> instrumentation drivers-> labview plug-and-play (if you can't find them please install the instruments from hereaggilent) who should give you an idea of how works driver programming and instruments. This should be enough to get you started. I'll try to find you some examples that are related to your project.

    Also if you are in the United Kingdom and needs help with learning LabView programming you can call 01635 523545, and they can organize courses for you.

    Best regards

  • Boolean front panel disconnected from the block diagram

    It is very strange behavior I've ever seen elsewhere.

    I opened a program that I have used before that works, after the replacement of some dll which is called.  I don't know if it's relevant, but just in case.

    In any case, I have a structure of the event in a loop.  Events are to turn certain values of output in a bitmap and update some of the entries.  As you can see in the screenshot of the time-out loop, the values of the input bitmap are fed directly in the Boolean flags.  The problem is that even if the thread is true, the façade is not up-to-date.  Also, when I click on the button stop, the Boolean value on the wire is not up-to-date.  You can see on the screenshot of the probe and the front panel.

    At no time have I stopped explicitly updates from the front panel.  Indeed, the status indicator updates correctly.  But he only makes a Subvi.  If you pass a reference to a front panel indicator in a Subvi, it locks the front for some reason any?  I thought for sure, I had done this several times in the past without problem.

    I'll post not rather the VI publicly without more deletions.  Just the stuff company owner.  I wouldn't mind sending them to someone OR, however.

    Thanks for any help.

    It was apparently a transient state.  I arrived, open LabVIEW and the VI, and everything is fine now.  I don't know what that looks like, I am back and found a few nodes property overwrite values.  I promise you that I will not change anything.  I should have tried this yesterday, but it was the end of my day at that time and I had a place to be.

    If you want, bradyAE, you can send me your email address and I'll send you the VI, if you think it is useful to investigate it.  Like I said before, I would rather not post it publicly.

  • Is there a way to put a button on the front panel only when clicked gives a pop-up dialog box with more information on it?

    Hello world

    The simulations that I create are very simple themselves but are intended to use in the classroom to help students learn more about the proven theory.  I hope to be able to place a 'help' or 'other info' button on the front panel that rises wants more info on theory, they can click on it and a pop up appears with background information on it.  It should also have a second button to close it and return to the main façade.  Can anyone lead me in the right direction?

    Thank you!

    Use a structure of the event on the main vi when the button is clicked, launches a "help" void / vi. On the inside of the Sub vi (with the set properties to load the front when it is called, of course), use another structure of the event to wait until then click on the button of the Subvi, you can return to the main VI. Do you need assistance on using the structures of the event?

    Charles

  • LabVIEW version of the source code of the NOR-DCPower Soft Front Panel

    I work with an SMU NI PXI-4130. There is a front panel soft exe called the "NOR-DCPower Soft Front Panel" that can be used to control the instrument. I was wondering if there is a version of LabVIEW source code for this driver?

    Jim,

    as much as I know there is no LV source code provided for the Soft Front Panel. But there are a few examples of LV, which will be close to the characteristics of the SFP. So I suggest to you to dig in the examples you find in the Finder of the example.

    Input and output hardware > Modular Instruments > NI-DCPower.

    hope this helps,

    Norbert

Maybe you are looking for

  • New updates for HP first...

    Hi all!!! HP released a brand-new first HP updates emulator, firmware and connectivity kit. Resources and in a download link: http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi?read=257514#257514 Thanks for the forum of Franz of MoHPC to disc

  • HP Officejet Pro 910 Cup scanned pages A4 in two?

    Hello I use my 910 connected to Mac OS X and W7/64. In both cases, when you try to scan several pages from the magazine, scanned pages is reduced by a half. So an A4, I get two files, one half higher and half lower. The pages that I scan are bills th

  • I burned an AVI to dvd with windows media player, but there is no audio data. What has gone wrong?

    I burned an avi file which was a movie to a blank dvd but therfe was no audio recorded.  What has gone wrong?

  • In Illustrator CS4-"Trace of Image".

    Hello. Need help. In Illustrator CS4, I can't find the 'Image '. You want to move (drawn) watercolor in Illustrator and change (remove background, etc.).

  • How can I get my mobile site work

    Hello!  I created a mobile site and a work desk.  According the videos, I watched it seems as if I have all I need to do is publish the site, and they will both work.  But this is obviously not the case.  Whenever I have pull up my site on my phone,