Main table according to the Subvi indicator

Hi all

I have a Subvi, reading of files and make a multi-terrain with data XY Chart. Part of the Subvi code also puts some properties of the graphical indicator XY, using a property node, such as styles and names of the plot. When run as a stand-alone, it is fine. But then I have to run the VI in the frame as a larger program. XY graph indicator is an output of the Sub - VI, and in the main program, I have a light connected to the output of the Sub - VI generate the graph.

But it does not work. The data is there, as expected, but none of the properties that I put in the Subvi, which is also logical because they act on the light located in the Sub - VI, but not that of the main program.

Is there an easy way to have all the properties of an indicator within a Subvi be transferred to the indicator to which he is connected in the main program?

Thanks for your help,

Sam

You pass a reference to the curve that you want to assign to the property.  You could make the graph on the Subvi by default so that it still works as a stand alone.

Tags: NI Software

Similar Questions

  • Reference to the control on the main façade fails the Subvi front is closed?

    Hi all

    I meet a strange bug. In my code, I use a Subvi to control a piece of hardware. The Subvi has commands for all functions of my hardware.

    I changes the value of one of these controls in my main façade by running a reference to a button on my main façade in the Subvi, grabbing the value of the button with a property node, then update the value of the Subvi control using a node property signage.

    This works very well when my Subvi front is open, but does not work the Subvi front closing.

    I am new to labview, so any help is appreciated.

    Thank you

    Rachid

    This event triggers a series of writing for the real hardware. The material is sent only a command when something changes.

    My code is made up of handlers inside functional global variables. In this way, I can send different parts of code of different orders (example: reset and reset) with the events generated by programming.

    The value of the wheel of the page main itself, according to my probes, getting through. It's the Subvi button that is having a problem.

    I work under a certain pressure of time pretty important, so I managed to convince the boss that the front panel of the Subvi open does not violate the requirements of the application. I guess this has solved my isse.

  • How do I align table according to the AboveTable?

    Please someone tell me how I Align table according to the table above, I created and table a line and a column and I inserted the collapsible Panel, now I want to align, but I do not know how, I select the left, but it goes to the far left...

    2014-11-11_125022.png

    I shudder to think that you use tables for your page layout. However, I will show you how to solve the current problem.

    Add the following code just after opening STYLE tag and just above .style1

    {body

    Width: 960px;

    margin: auto;

    }

  • in the cell indicator digital table according to the color value

    Is it possible to change the color of text in individual cells of a digital display indicator depends on the value of the digital displayed in this cell.

    You can use the ListBox instead of indicators in table. You can change the ownership of each cell individually.

  • update status main table based on the table of detail

    Hello
    using Jdev11.3
    I have the following problem:
    table main ServiceCall with attr (id, createdBy, status), or by status (running, closed)
    table ServiceCallDetails of detail with attr (id, serviceCallId, Statuc) who are status (running, closed)

    the requirment is to update the status in Master table to be closed if and only if all the Status in detail are closed.

    I try to achieve this by implementation method in EntityImpl to get accessor lines but I can't.

    any help
    Thankx

    You can try to use something like this:

    RowSetIterator it = getViewObject () .createRowSetIterator (null);
    IT. Reset();
    While (it.hasNext ()) {}
    your logic
    }
    it.closeRowSetIterator)

  • How to pass data to the tables according to the value of the first 4 digits of 7 strings of numbers

    I want to sort incoming data, in several bays based only on the first 4 digits of each string.

    For example, a hexadecimal string may be 41322033333533 which is A1 3353.

    A1 is a sensor. particularly, and I want to send all data from the A1 to a table. I have 8 sensors data and want to send the data to separate the bays of sensor. My sensor names are A1, A2, A3, T1, T2, T3, W1

    I will use a structure of the matter, for loop and a comparison of '=' for the data. However, I want to only compare the first 4 digits of the string and I can't find an operator for this. Any advice on how to proceed would be appreciated.

    With a thread like this

  • set the height of the rows in the table according to the integer value

    Hello.

    jdev version - 11.1.2.3

    My requiremnt is that I have an integer input value, when I provide a value for it assumes that 10, then only 10 lines should be visible on the rest of the table should come when scroll us. Basically, I want to adjust the height of the lines on the change in value of my entry value providied.

    Thank you

    If the counter returns a number, you can convert entire

    public void button(ActionEvent actionEvent) {
    Number n = spinbox.getvalue();
    table.setFetchSize(n.intValue());
    }
    

    Timo

  • Centering a table according to the Web site.

    Hello

    I created a table in Office Web site. I want to focus everything rather than it be left justified.

    I'm a bit new to dreamweaver.  Here's a rough draft of the site.

    http://test.taffyproductions.com/

    Thank you

    Gary

    Well, each of us made a mistake.  For my part, I forgot to say that you specify a width for the wrapper.  For your part, you put the div tag in the wrong place (so remove what strikes me below).  Here is your code reorganized and added width:



    ...

    and I had a CSS rule:
    div #wrapper {}
    margin: 0 auto;
    Width: 780px;
    }
    > Is it possible to place each table in a Div tag?
    Indeed, you can!
    -- 
    
    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • Disable an entry to build the table according to the user input

    Hello

    I'm using labview to perform a mass spectrometer.  I made a program to monitor up to five masses, where it sends mass to mass spec (DAC) and then receives data (analog signal) and the locations / records, it is then repeated for the next four masses before returning to the first.

    I have five controls on the front panel, where the user can enter and then the five masses that they wish to follow.

    My problem is how to disable some of the masses, if I only want to follow masses 1,2,3 or 4 instead of five.  Because obviously, it takes more time to complete each cycle with the masses more.  How can I disable the entries if the user upgrades to zero for example?  Or have a way to control the masses to follow.  Who will stop the five tensions sent through DAC and send only 1,2,3 or 4 depending on what is selected?

    I enclose my vi.

    I don't see a Structure of the event in your vi. It is the best and easiest way to capture the change event and manipulate. Search Help on the Structures of the event and you will find many examples. You need the full version of LabView to have access to the Structure of the event.

  • ADF: Useless refresh of the main table in the master page layout / detail

    Hello

    I have a master page layout / detail (main table, long form). Whenever I change the focus of one main line to another (for example from the first to the second row), updating of the main table together. The 'new' line has already been read before it gets focus, in order to make a refresh seems completely unnecessary. Is it possible to change this behavior?

    Kind regards

    Andreas

    Hello

    Check in pageDef for entry ChangeEventPolicy = 'ppr' for your iterator entries... If so just remove it...

    Kind regards
    Suganth.G

  • data displayed only in the main table not shown in the child table

    I have two tables: master and child. In the main table, I want the first line of the main table must be selected and child records to be displayed when the page is displayed. But the page shows only the master records.

    The code written in the process in the controller application is:
    TheAM OAApplicationModule = pageContext.getApplicationModule (webBean);

    Table OATableBean = (OATableBean) webBean.findChildRecursive ("region1RN");
    Boolean ExecuteQuery = BooleanUtils.getBoolean (false);
    [Serializable] parameters = {executeQuery};
    Class [] paramTypes = {Boolean.class};

    theAM.invokeMethod ("init", parameters, paramTypes);

    the code written in AM is:
    public void init (Boolean executeQuery)

    {


    TXN OADBTransaction = getOADBTransaction();
    MTHSustainAspectsVOImpl vo = this.getMTHSustainAspectsVO1 ();

    Line masterRow = vo.first ();
    masterRow.setAttribute ("SelectFlag", "Y");
    vo.executeQuery ();


    }

    can someone tell me why the child records don't come

    Change the code as follows and try

    public void init (Boolean executeQuery)

    {

    TXN OADBTransaction = getOADBTransaction();
    MTHSustainAspectsVOImpl vo = this.getMTHSustainAspectsVO1 ();

    Line masterRow = vo.first ();
    masterRow.setAttribute ("SelectFlag", "Y");
    vo.executeQuery (); Not necessary
    vo.setCurrentRow (masterRow);

    }

    Prasanna-

  • 10g pivot table out on the grant table

    Hi, experts,

    No there is no way to sort the pivot table according to the values in table of grant?

    Thank you very much!

    example is necessary...

    do you mean void totals?
    I'm assuming you own m1, d1, d2, d3 etc and applying subtotals on d2 dimension...

    If so,.
    create a column with fx:
    sum (m1 d1, d2), then in the criteria tab himself sorting on... can it exclude pivot...

    If subtotals on d1 (d1 m1) just sum is enough...

  • How can I display a variable evolution in a Subvi on the face before of the main vi as the Subvi is excuting

    In the attached document the vi on the right is sub to the vi on the left. On the Subvi on the right of the variable "playing field" is continuously updated on the façade of the Sub - VI as the loop 'for' is executed, but only the last value of the variable is updated in the table main before vi which is what is expected. My question is how can I display the evolution of the value of 'Playing field' on the main façade of vi that the loop 'for' in the Sub - VI is running?

    Thank you.

    I don't have the drivers you are using. But here's an example of how update an indicator of a Subvi. To create the reference control in the Subvi, select control refnum in refnum palette and drag a numeric (or other) on the refnum control.

    VI the appellant

    Subvi

  • Generate several plots according to the size of table

    Hi all

    I'm relatively new to LabView and I read several threads that are similar to my problem, but I don't know how to implement it yet.  Basically I have a large table that stores the raw data read from multiple text files.  This large painting size would vary based on the number of text files generated by a data acquisition system.  I would like to draw each line of the table a new field.  Instead of manually wiring, is there an easier way around?

    Thank you

    Lynniz

    Lynniz,

    If you need a separate chart for each parcel then can determine you at least in advance what the maximum number of locations could be and show/hide your graphics programmatically based on data. All the graphs could be in a Subvi that appears separate from your main application window, or you could use a secondary.

    I'm just brainstorming here. There could be a more elegant way to do it, but the graphic masking that already exist is the only thing I can think of right now.

    Eric

  • Is it possible to have multiple tables of contents in webhelp output that can be chosen according to the role of the user/client?

    Our product is composed of several modules, for example, the modules-1 thru 8 - module.  We sold all 8 modules or some of them - in different combinations to different customers. I've developed help online in the same direction, that is, in the modules, help-1 to ' help-8. Each help module has its own table of contents.  According to the requirement for a particular client, I integrate the required modules, build the main table of contents using the mini-table of existing materials for each assistance, generate the sequence to browse and compile. This has been my routine until now.

    Now, the product development team would like to automate this process: for example, they want to give me the help of output for the 8 modules in integrated form, as well as tables of contents separate for a combination of different modules for different customers like, assistance, modules 1 to 8, 1-2-3, 1-5-6, etc..  They feel the moment this TOC fell in the output of aid, it should automatically start functioning - without compiling!

    I explained the process used to develop Robohelp projects, how TOCs are built, etc., but they want to know if there is a work around, so that when a customer asks for modules 3, 7 and 8, immediately, they can go down the table of contents (for 3-7-8) at the end of the project, and it should work - without compiling , or anything of that kind. I tried Google and Adobe Forum, but couldn't find something suitable.

    Do you have a solution? A solution to this problem?

    What you need is merged help.

    You generate a parent and all the child projects. You always install the parent and then any child projects, you need. OCD, search and index adjusts automatically. See the pages on my site.

    Note, however, that many people take another view for the development of your product. See all assistance and people then view information about something and realize that they need!

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

Maybe you are looking for