How to pass a data set of a VI to another

Hi all

I have a group of controls on my main VI application that I use to accept various types of user data. Then, I want this cluster to cluster control of entry of an another VI perfectly on the generation of a user event. In other words, if I have 3 numbers, 2 strings and 2 stamps of time of the cluster on the main VI, I want to spend on these same exact data at the cluster of entry control of VI second in the same sequence, with the same values.

How can I do this?

Here is a snapshot showing cluster on my main VI controls and code for my second VI.

I would like to transmit data in the cluster of entry "data". I tried to call the VI second in my main VI and directly the wiring of the cluster, then using a "Unbundle by name function" to separate the data, as shown. But this doesn't seem to work properly.

Kind regards.

The 2 groups well be identical, then it should work smoothly. To ensure that they are, do a type-def in the cluster and use for both. From what I see of your code, it is clean and correct, and it should not really cause trouble. What is (not) happening?

/Y

Tags: NI Software

Similar Questions

  • How to pass a variable to a swf file in another using the Loader?

    I'm loading a swf file from another swf using the method as follows:

    var myLoader:Loader = new Loader();

    addChild (myLoader);

    var url: URLRequest = new URLRequest ("myExternalMovie.swf");

    myLoader.load (url);

    How to pass a variable to the first SWF in the second?

    I'm not sure that "passage" is a term there, given that this generally applies to what happens with functions that can host variables to pass as arguments in the.

    When using the charger, you can assign an event listener to determine whether the activity of loading is complete and have an event handler that targets its contentLoaderInfo property to the event.currentTarget.content, which in your case would be the loaded swf file.  At this point, you can assign a value to a variable in this swf file by targeting...

    var myLoader:Loader = new Loader();

    addChild (myLoader);

    myLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, loadComplete);

    myLoader.load (url);

    var loadedSWF:MovieClip;

    function loadComplete(evt:Event):void {}

    loadedSWF = MovieClip (evt.currentTarget.content);

    loadedSWF.someVariable = ';?

    }

    It is probably possible you may also have the loaded swf the value rtrieve by targeting to the parent swf file, which would be both parents away because of the charger is the relative of the SWF loaded... unevariable = MovieClip (parent.parent) .someValue;

  • How to pass the date range as in URL filter go

    Hello

    I am trying to build a Url go that has two filters, date range & text. I built the url below, but he continues to throw an error. The url is not from the date max and the app starts following error:

    Error: Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 46048] Month DateTime value 0 0000-00-00 is off limits. (HY000)

    Go to Url: https:companyUrl? GB & Options = rfd & Path = / shared/CompanyID/link & P0 = 2 & P1 = eq & P2=CustomObject4.%22Indexed%20Pick%201%22 & P3 = Leasing & bet = P4 & P5 = ""-CustomObject4 Custom Attributes '. " ZDate_26 & P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'


    Please suggest.

    Thank you
    Kiran.

    It seems that you convert the data type of char to date in the URL, I don't think that this is possible.
    Your code is like
    & P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'

    It suppose to be & P6 = 2 + 2014-08-01 + 2014-12-31

    I suggest doing the formatting for this filed using column properties and try.

    Hope this help, pls mark if yes ;)

  • How to pass a string to a .qml to .qml another?

    Hi guys,.

    How can I pass a string of page1.qml to page2.qml using BB 10 waterfall?

    Thank you

    Shwarup

    onTriggered: {
                        clearSelection()
                        select(indexPath)
                        var newPage = pageDefinition.createObject();
                        navigationPane.push(newPage);
                    }
                    onSelectionChanged: {
                        b.abc = _app.selectionChanged(indexPath, selected);
                    }
    
    ->
    
    Can you have a try with the following methodology
    
    onTriggered: {                    var chosenItem = dataModel.data(indexPath);
    
                        // Create the content page and push it on top to drill down to it.                    var b = detailPage.createObject();
    
                        // Set the title and source of the feed that the user selected.                    b.abc= chosenItem.xxx                    navigationPane.push(page);                }
    
  • How to pass parameters/field values from one screen to another screen in blackberry

    Hi all

    I have two screens in my Application UI that is, login screen and continue the screen.

    Login screen has some fields of seizure as a user name and password and default language (French or English) for the application (Group of radio buttons).

    There is a button for the next who directs the user to another screen.

    This second screen has an input field. This input field is mandatory. The user can only go further if it is entered in this field of entry with valid values (i.e. numbers only).

    This screen has continue button so that the user can go further is on the next screen after you have entered a valid value in the field.

    Now, when the user clicks the continue button on the second screen so I have to validate the credentials of the user, he has provided in the first screen. Also, I need set the locale for the language he has provided to the login screen.

    So, to summarize.

    (1) user enters user name, password and language on the first screen. The user clicks NEXT and goes to the second screen.

    (2) on the second screen, the user enters a name click continuous. ((3) user credentials are validated, defined locale and user is illustrated below third screen).

    So, my question is how do I access username, the password, the language of the first screen in the second screen fieldChanged method?

    fieldChanged second display method will be called when user enter a value class we second screen and clicks continue.

    Please advice

    Thanks in advance...

    Store text values in the fields in your application class, and then pass it as a reference to each form or retrieve your instance of UiApplication and cast to the name of your class.

    public class MyApp extends UiApplication {   public String username;   public String password;   public String language;
    
    }...
    
    // Your first screen
    
    public class MyFirstScreen extends MainScreen {   private MyApp _app;
    
       public MyFirstScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Set your fields      // AS AN EXAMPLE, you can use:      // _app.username = field1.getText();      // _app.password = field2.getText();      // _app.language = field3.getText();   }}...
    
    // Your second screen somewhere
    
    public class MySecondScreen extends MainScreen {   private MyApp _app;
    
       public MySecondScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Access your fields      // you can use:      // _app.username      // _app.password      // _app.language   }}
    

    Now, this is one of the many ways to do it, but it works in its simplest form.

  • How to pass a value LOV to where clause of another LOV

    Hello

    I have the two LOV project and activity. When I select a value of project LOV this value project to switch to the 2nd activity LOV where clause. How can I achieve this.

    I tried to use the code in the process CO request by getting the value of project with the command below.

    int v_project = Integer.parseInt ((String) passiveCriteria.get ('Project')); grab the critirea project

    and set this value in the setwhereclauseparams of the VO LOV. But the above command is throwing an exception with the exception of null pointer.

    This approach is correct, or should I use any other method.

    Thank you
    HC

    Below you will find the article interesting

    http://oracleanil.blogspot.com/2010/12/dependent-lov-in-OAF.html

    Thank you
    AJ

  • How to pass a value of a form field to another?

    Hello
    Posted this yesterday, still no joy.
    Let me make a drawing.
    I have two forms.

    Form of connection of formula 1.
    ---------------------------------------------------------------------------------------------------------

    Field - username (P48_USERNAME)

    -The button register. This creates a user on the user table. (This works)
    Login - button. It does not work.
    No password required.

    ---------------------------------------------------------------------------------------------------------

    Formula 2 main Menu

    Field - user (P4_USER).

    ----------------------------------------------------------------------------------------------------------

    Everything I type in the formula 1 (P48_USERNAME) I want it to appear in the main menu form (P4_USER).

    It should be very easy.
    Probably something wrong.
    Yesterday tried: APP_USER and Branches.
    Impossible to run.
    I have very detailed some instuctions please.
    My first application.

    SORRY!

    Zac.

    There are a bunch of ways to do it. It's the way I am using:
    You have a form that collects things and it passes to the following form:
    collection form:
    creating a branch
    (probably attached to a button. (so the field "when button pressed" contains the button you)
    intention of invoking this branch).

    branch to page (page updated for example number 4)
    request (this is something that you can use on the home page to distinguish what branch sent it your way)
    example of defined these elements. Here, I have ryear and restid of 2 parts in stock

    set these items  P4_RESTID,P4_RYEAR
    
    with these values: &P3_RESTID.,&P3_RYEAR.
    

    BTW the url from stuff in a branch uses the colon you may not use the colon between the constituents, so the amperdot
    form is the only thing that flies here. As I said, the note "with these values", each begins with ampersand and
    ends with a point.
    I hope this helps.

  • How to pass windows 7 lincence from one pc to another pc

    I have Windows 7 Home Edition Lincence Pack in my Pc. Now I have purchese new pc. I want to know how to move this Pack of exploitation to new pc.  Pls help me.

    If you bought Windows 7 separately from your current computer, then Yes you can transfer (as long as you have a retail copy and not OEM).

    If your current computer is pre-installed with Windows 7, then you can not upload it it's OEM.

  • Marshall plan: how to pass data between the main field and sub-application

    Hello

    I'm trying to load a Flex 3.5 application in Flex 4. In the process, I need to move a strong local typed object from main application to the loaded swf file. And I also have to pass a rope and a bitmap of application sub to the main application. Have an example to show how to pass data in the application domain?

    Thank you

    SW

    Define scaleContent = true, set a breakpoint on SWFLoader.as:doScaleContent and

    see if he thinks there's a swfBridge.

  • How long does take to set up the date and time

    How long does take to set up the date and time

    Less than a minute.

    Settings > general > time zone > set automatically

    If this does not work, try the help in this support article > If your Apple TV will stop to display date and time on startup - Apple Support

  • How to pass data (more effective) autour

    Hello
    I wonder how to pass around large data around across the application.

    For example:
    1 data or data of my analog channels
    (I have a lot of screws that will process these data of waveform)
    Is it not wise to spend around analog continuous data?

    2. What if you want to process digital data?
    (I must treat these unique bits in several screws, for example,)
    security door bit, stop bit of emergency, must be treated as higher priority than screw
    input 1, selector, etc.).

    Or you have any suggestions, what type of data I should use. I have a
    global impression screw actually write these digital data in a file, then
    These files are passed around?

    3. is there a mechanism that pass around data in memory, NOT in the files?

    By far, the way the more effiecient to pass data autour is a thread.  If you are really worried about memory, then you must avoid the connection of the wire that he holds the large amount of data.  This could mean making your processes in series (one at a time) passing the data of one Subvi to another via the controls and indicators and the connector pane.

  • How to filter through a set of data based on user input

    Hi all

    I'm trying to filter through a set of data, purchase only the files that meet the requirements of users.

    I ask the user to enter three different values, one for a frequency to start another for a frequency of end and also the value of the rated power.

    The way I am filtering from now thanks to this data set is using a function called the regular expression function as well as the analysis of string function to break up the name of file and data digital take-away, then compare these data on the entries of users.

    These values that meet the conditional statement will be sent to a ring of results for a user to go through.

    For now, I filled it is not as much functionality in this method, the user must be very careful in the way which he or she saves files and my program may work correctly.

    I am ataching a photo of this part of the program.

    Thanks for the help.

    I think that my second statement should check on a white paper OR PDM.  Have you noticed the color?  This is a clickable link.  If you read the material here, it should clear up confusion in the first part of my post.

    I have a colleague who, like you, encodes the parameters of the study of the (very long) string of the name of the file.  I always shout at him about it, because it requires him (because you are considering do) build routines for (a) analyzes the names (to retrieve the information hidden in them), (b) to organize the data in a form of "LabVIEW Database" and then (c) figure out how (in LabVIEW) for write "queries" on this database.  More file names are not particularly easy for a human to read, are extremely long and invite more mischief (have you thought about putting your files in folders which are similarly 'file-information-coded'?  Becomes even more messy more fast).

    You might think Oh, "it's too late to make a change, I have already all of these data", but what good is it if you can't analyze easily, group them, sort, etc. ?

    Bob Schor

  • How to interpret the data cache setting and the current value of data cache?

    How to interpret the data cache setting and the current value of data cache? We found that even, we configure a larger data cache in Essbase 2 GB for example, the current value of the data cache is always much lower. Does that indicate an activities of data at very low recovery or something else?

    Thanks in advance!

    Hello

    When a block is requested, Essbase searches the data for the block cache. If Essbase is the block in the cache, it is immediately accessible. If the block is not found in the cache, Essbase in the index for the appropriate block number and then uses the index of the block entry to retrieve from the data on the disk file. Retrieve a block requested in the data cache is faster and therefore improves performance.

    So as you say that its current value is much lower then % is very low, that a requested block is in the cache of Essbase data.

    Hope that respond you to the.

    Atul K

  • How to determine the size of the binary file data set

    Hi all

    I write specific sets of data in table in a binary file, by adding each time so the file grows a set of data for each write operation.  I use the set file position function to make sure that I'm at the end of the file each time.

    When I read the file, I want to read only the last 25 data sets (or numbers).  To do this, I thought using the position set file to set the file position where it was 25 sets of data from the end.  Math easy, right?  Apparently not.

    Well, as I was collecting data file size as I began the initial tet run, I find the size of the file (using file order size and get number of bytes so) as the size increases the same amount every time.  My size and the format of my data being written is the same every time, a series of four numbers double precision.

    I get increments are as follows, after the first write - 44 bytes, after 2nd - 52 bytes, 3 - 52 bytes, bytes 44 4th, 5th - 52 bytes, 6 - 52 bytes, 7th - 44 bytes and it seems to continue this trend in the future.

    Why each write operation would be identical in size of bytes.  This means that my basic math for the determination of the poistion of correct file to read only the last 25 sets of data won't be easy, and if somewhere along the line after I've accumulated hundreds or thousands of data sets, what happens if the model changes.

    Any help on why this occurs or on a working method, all about the problem would be much appreciated.

    Thank you

    Doug


  • How to calculate daily, hourly average for the very large data set?

    Some_Timestamp

    "Parameter1" Parameter2
    1 JANUARY 2015 02:00. 00:000000 AM - 07:002341.4534676341.4534
    1 JANUARY 2015 02:00. 01:000000 AM - 07:002341.4533676341.3
    1 JANUARY 2015 03:04. 01:000000 PM - 07:005332.3533676341.53
    1 JANUARY 2015 03:00. 01:000046 PM - 07:0023.3436434.4345
    JANUARY 2, 2015 05:06.01:000236 AM - 07:00352.3343543.4353
    JANUARY 2, 2015 09:00. 01:000026 AM - 07:00234.453453.54
    3 FEBRUARY 2015 10:00. 01:000026 PM - 07:003423.3534634.45
    FEBRUARY 4, 2015 11:08. 01:000026 AM - 07:00324.3532534534.53

    We have data as above a table and we want to calculate all the days, the hourly average for large data set (almost 100 million).  Is it possible to use the sql functions of analysis for better performance instead of the ordinary average and group of?  Or any other way better performance?

    Don't know if that works better, but instead of using to_char, you could use trunc. Try something like this:

    select
        trunc(some_timestamp,'DD'),
        avg(parameter1)
    from
       bigtable
    where
       some_timestamp between systimestamp-180 and systimestamp
    group by
       trunc(some_timestamp,'DD');
    

    Hope that helps,

    dhalek

Maybe you are looking for