Pass data between applications value reference

The issue is that data application reference value is local to the application instance, or can be transferred between different applications.

I have a main application that acquires the table of 100 MB and I need to use these data in a dll. Obviously, I don't want to send table, reference would be better. Both applications are generated in labview 2011.

The second question is whether reference data value can be converted to a string (type cast or flatten to a string) and back. For example with DAQmx tasks flatten to a string does not work.

Alexander_Sobolev wrote:

It's value application data reference is local to the application instance.

Yes.

or may be transferred between applications.

Laughing out loud

The second question is whether reference data value can be converted to a string (type cast or flatten to a string) and back.

Yes, but only means something in the app instance appeared to reference.

You will want to perhaps give more details on what are your real needs, but keep in mind that play with memory directly in LV is not so simple, as he does all he can to hide these details you.

If you pass a pointer to an array to a DLL, you can configure the DLL for this call. If you want to get an accurate picture of LV in memory address and passing around, this isn't something LV supports and you shouldn't do that because the memory should not be controlled by more than one master at any time in time.

LV has functions of memory allocation and to get the pointer back, but requiring explicit calls.

Anyway, I have no real experience with this. If you want to read materials, there are at least two users here with much more knowledge on the subject and you can go through their messages or search and filter for their post - rolfk and nathand.

Tags: NI Software

Similar Questions

  • Pass data between panels

    I have a digital slide on a Panel. When I move the cursor, I need the value update on another Panel.

    How can I do this?

    The two panels are loaded as a senior-level windows.

    It seems that I read something on the use of queues to pass data between the panels, but I can't seem to find where I read that.

    A basic concept that differentiate the CVI to other languages, it's that there is no relationship between a sign and a specific source file. I mean, you do not need to put a sign functions in a specific source file: they can be spread over multiple sources; Conversely, you might have a source only that collects reminders for all panels of files in your application. What readers recall execution are Panel handles and control ID. (One effect of this paradigm is, you might have a reminder installed on controls on different panels).

    For this reason, there is no problem by putting the cursor callback in panel1.c. In addition, you can call the file source in a different way.

    Arriving at the base of your problem, a DAQ multithreaded application is really different from a UI single-threaded application.

    Put the functions of data acquisition in a separate thread can be beneficial for your application, because they are not likely to suffer user interface events.

    CVI provides also the different methods of transmission of data between threads. the most powerful in data acquisition applications is probably a Thread Safe queue.

    I suggest you look at Programmer's Reference > chapter of the creating multithreaded Applications to aid, where the basic principles of programming are explained multithreaded and information are provided on all instruments CVI includes.

    If you want to discuss on this scenario, I suggest yu to start a new thread, as it has nothing to do with the original question with which you started this discussion.

  • Core 1 page 9-4: "...". pass data between parallel patterns... »

    «.. . If allows you to pass data between parallel block diagrams... son"this can be done?

    They mean transfers data between parallel loops/structures?

    The question is a Hue. It is not parallel, using wires. Two loops are not connected is perhaps parallel. We read your table of contents it a game of guessing on the sentence of your thread. Maybe if you get into the details.

  • Identify the best way to transfer data between applications in Essbase

    Hello Experts,


    One of my clients uses Hyperion System 9.3.1 and they try to understand if the partitioning might be a way to automate the transfer of data between applications Essbase (using the partitioning of replication).

    The challenge, they say, is that they may need to send the budget a source application (SLVQ) data to an application (consolidated) target. Data can be changed in Conso and returned to the SLVQ for review.

    They get warnings when they define partitions in both directions because the partitions are overlapping, but it works.

    Are there concepts or reasons why they should not use this function (transfer in both directions)? Is this something that is used by other companies?

    Their alternative is to export data in text file, then reload with rule files. It seems more difficult to define (MaxL scripts-> text files-> rules of files) with more chances of getting errors. Is there some other effective solutions which we do not understand?

    Please suggest.

    Thanks in advance

    Kind regards
    Jingle

    Hi Lisa,
    other than the scores, text file
    There are two more, according to my knowledge

    1 XREF
    2 HAL (Hyperion Application Link) using adapters essbase

    We use the XREF and HAL to our company to transfer data between applications according to the needs.
    I hope this helps.

    Dornakal.
    www.dornakal.blogspot.com

  • 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.

  • Sharing data between Applications

    I need to be able to share documents between different applications such as straight JAVA applications and MIDlets.  I went and wrote the code using the store only to find out that it does not work between applications. I saw something on the RuntimeStore but finds that it is not persistent (you lose the data on reboot). I think it is a severe limitation.  Are there other options?

    Thank you!

    You can use the persistent objects to back up and share data with other applications also.

    Give a look to this developer doc. Section "persistent data storage.

    http://NA.BlackBerry.com/eng/deliverables/608/BlackBerry_Application_Developer_Guide_Volume_2.PDF

  • How can I pass data between DIAdem and LabVIEW?

    Hello community,

    in fact I use a LabVIEW application to control a test system, collect data and store it in a file.

    DIAdem is executed (using ITOCommand) and then create a report (PDF).

    This works already.

    But also, I would like to receive a return value of tiara, a real number, as for example the register R1.

    No idea how can be achieved?

    Thank you!

    Espelkamper

    Declare records, variables in the script of tiara that store the calculated result. Read records in labview

  • Exchange data between application c# and test using the test API

    Hello

    c# application, I use the API test to:

    charge 1 sequence file created with the test editor

    2. run the sequence of parameter passing

    sequence 3 - get results data

    I found out how

    -a sequenceFile with Engine.GetSequenceFileEx () method of loading

    -How the execution of the sequence with the Engine.NewExecution () method but I don't know how passing parameters to the sequence with the Engine.NewExecution () method?

    -How to retrieve local variables and variable parameters of the sequence, but it seems that the variables are initialized at the end of the sequence?

    could you help me please.

    Make sure of course that argument list is in the same order as that defined in your sequence.

    Concerning

    Ray Farmer

  • Find data between certain values

    Hello world

    I need help with the script below.
    CREATE TABLE BILL_TBL
      (
        "CUSTOMER_ID"       NUMBER(18,0),
        "BILL_ID"           NUMBER(18,0),
        "BILL_ISSUE_DATE"   DATE,
        "BILL_DUE_DATE"     DATE,
        "BILL_DUE_AMOUNT"   NUMBER(20,5),
      );
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,143787012,to_timestamp('12/09/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/10/2011','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,147279454,to_timestamp('12/10/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/11/2011','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,161587732,to_timestamp('12/02/2012','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/03/2012','DD/MM/RRRR HH24:MI:SSXFF'),2.05);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,150481573,to_timestamp('09/11/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('09/11/2011','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,153076866,to_timestamp('01/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('01/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,156547549,to_timestamp('30/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('30/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,150793135,to_timestamp('12/11/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),58.38);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,159764979,to_timestamp('24/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('24/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,154467859,to_timestamp('12/12/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,157241037,to_timestamp('05/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('05/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (3115166,158065763,to_timestamp('12/01/2012','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('12/02/2012','DD/MM/RRRR HH24:MI:SSXFF'),0);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (100,123456721,to_timestamp('13/05/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('13/06/2012','DD/MM/RRRR HH24:MI:SSXFF'),123.12);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (100,123456722,to_timestamp('13/03/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('13/04/2012','DD/MM/RRRR HH24:MI:SSXFF'),144.12);
    Insert into BILL_TBL (CUSTOMER_ID,BILL_ID,BILL_ISSUE_DATE,BILL_DUE_DATE,BILL_DUE_AMOUNT) values (100,123456723,to_timestamp('13/01/2011','DD/MM/RRRR HH24:MI:SSXFF'),to_timestamp('13/02/2012','DD/MM/RRRR HH24:MI:SSXFF'),4.12);
    The query must sort by customer_id, bill_issue_date desc as give below, that retrieves records in which the bill_due_amount is between group by CUSTOMER_ID 0

    examples of data
    CUSTOMER_ID     BILL_ID           BILL_ISSUE_DATE      BILL_DUE_DATE     BILL_DUE_AMOUNT
    100              123456721        13/05/2011      13/06/2011      123.12
    100              123456722        13/03/2011      13/04/2011      144.12
    100              123456723        13/01/2011      13/02/2011      4.12
    3115166              161587732     12/02/2012     12/03/2012     2.05
    3115166              159764979     24/01/2012     24/01/2012     0
    3115166              158065763     12/01/2012     12/02/2012     0
    3115166              157241037     05/01/2012     05/01/2012     0
    3115166              156547549     30/12/2011     30/12/2011     0
    3115166              154467859     12/12/2011     12/01/2012     0
    3115166              153076866     01/12/2011     01/12/2011     0
    3115166              150793135     12/11/2011     12/12/2011     58.38
    3115166              150481573     09/11/2011     09/11/2011     0
    3115166              147279454     12/10/2011     12/11/2011     0
    3115166              143787012     12/09/2011     12/10/2011     0
    Presents the expected results
    CUSTOMER_ID     BILL_ID          BILL_ISSUE_DATE     BILL_DUE_DATE     BILL_DUE_AMOUNT
    3115166         150793135        12/11/2011      12/12/2011          58.38
    Any help will be appreciated. Thanks in advance
    select CUSTOMER_ID, BILL_ID, BILL_ISSUE_DATE, BILL_DUE_DATE,BILL_DUE_AMOUNT from (
    select CUSTOMER_ID, BILL_ID, BILL_ISSUE_DATE, BILL_DUE_DATE,BILL_DUE_AMOUNT,
    lag(BILL_DUE_AMOUNT) over(partition by CUSTOMER_ID order by BILL_ID desc) b,
    lead(BILL_DUE_AMOUNT) over(partition by CUSTOMER_ID order by BILL_ID desc) a
    from testdata)
    where a = 0 and b = 0
    and
    nvl(BILL_DUE_AMOUNT,0) != 0
    
  • Transfer of data between Applications forms

    Hi all

    Here's a question. I have a request. I want to make a copy of this application with a different data source and then transfer all my previous application again data forms. What is the best way? What would you suggest?

    Thank you

    How does LCM if on version 11

    If it's just the shapes so you can also use the formdefutil, info on how to use it is planning doc admin.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Passing data between the component main enforcement through custom methods and custom

    Similar to what this article is talking about, I have a custom list that contains a list of names of State of the United States in chains. (Let's call this states.mxml) #comments http://www.boyzoid.com/blog/index.cfm/2006/11/22/Flex-Custom-Components-and-Custom-Methods

    I create an action script that is included in my states.mxml like < mx:Script source = "myScripts.as" / > so that I can call the method in mySpcripts.as

    Now, what I want to do is, whenever I click on an item in the list, I want this string is displayed on the Application of the hand (on a canvas or Panel) as a label.

    I don't know how I am supposed to refer to the canvas and wood, which lies on the main of the application of myScripts.as
    Is there a way to create an action script file where methods can reference components for the main application and the custom component file?

    Thank you

    this.parentApplication.canvas.label should do what you are looking for

  • Passage of data between functions

    Hello

    Is it possible to pass data between functions? What I try to do is the following:

    I have a private function called onBtnBook which will do what (component .mxml) page of my application will be sent to the user when the user clicks a button. I need to capture the page that the user performed before they have clicked on the button and you can do this by capturing the selectedIndex value in a variable of the ViewStack I use for Navigation and is in my main Application file.

    What I have to do then is when the user clicks the back button, it sends back to the page they were on. I have a second private function called onBtnBack to handle this. However, as I need to use the variable created in the onBtnBook (which contains the value of the selectedIndex of the page that the user did) in my onBtnBack function, to return the user to the correct page, I am short of problems with access to the data in this variable.

    Is there a way to access the data of the variable in the 1st onBtnBook of function and handling in the 2nd onBtnBack of function?

    Thank you

    You must make a public variable and it may be related.

    [Bindable]
    public var myLastIndex:int;

    private function onBtnBook (): void {}
    myLastIndex = viewstack.selectedIndex;

    }

    private function onBtnBack (): void {}
    viewstack.selectedIndex = myLastIndex;
    }

    or something in that sense

  • Help on the passage of data between vi when built in exe

    Hello

    I have this problem and grateful if someone can give me a heads up the right direction.

    I'm trying to write a program for acquisition of data and control of two instruments simultaneously.

    An instruments is a rotating stage that I control the movement and data read using activex controls. I do this in a vi that I have two distinct time of lines, one for updating the Rotary floor continuous data and other while loop for the handles of event structure.

    The second instrument is a detector that follows the rotation of scene. For this, I have an another vi with two loops for example, for data acquisition hollow rs232 and another while the loop is to the structure of the event.

    I use globals to pass data between the vi and it works very well in a labview project environment. However when I Isaiah to compile these exe files. I can no longer spend data.

    Is there a programming method when you communicate with more than one instrument. What I want to ask is, say I have a function, oscilloscope etc engine generator How can I control them in windows separated (for example, separate programs) and pass data to the other?

    I would be grateful for any help.

    Hello

    Global variables are not accessible to separate executables because their areas of memory are not shared. This can be found in the following document: If I can use a Global Variable to share data between two executable LabVIEW? The only way to have it working would be to use a main VI that launches your two separate applications like subVIs. This would allow you to share a global variable between the two. Your other option would be to use the method described in the article, or to use shared Variables: How to communicate between several executable LabVIEW using shared Variables?

    -Zach

  • Transfers data between children ViewStack

    Hello

    What is considered best practice to pass data between ViewStack children.

    Thank you.

    Hi, M * A * S * H

    You will get a different answer from everyone who meets you. There are several definitions of 'best practice', and all depends on how you define your project, the third frame type you use, if any, and other factors.

    If you are just using the Flex framework, consider creating a singleton (in ActionScript) class to contain all your data. Then, each component can just bind to data in this singleton. The components write to data in the class, and then they have all updated at the same time. Do not worry if a child in the viewstack component is created, it will get some it is bound to data when it created.

  • Can I use data value references with a functional overall?

    Can I use data value references with a functional global?  I am trying, but it causes problems:  I run the attached VI with "new DVR" selected.  Then I run it again with "return array" and I get the error 1556: "The reference is invalid. This error might occur because the reference has been deleted."  It seems to have forgotten the DVR, but I thought it should be stored in the shift register.
    
    Another odd thing:  In my VI, if I try to connect the wire shown in "something strange", then the type changes (from U16 array to DBL), i.e. it doesn't recognize the type referenced by the DVR.
    
    I want to pass a very large 4-dimensional array between parallel loops with a functional global.  To avoid memory problems, I want to use a DVR and in-place element structures.  If that's not allowed in Labview, I will try passing it through a user event or notifier.  Any problems with those alternatives?
    
    Thanks.
    

    I received a response from an engineer applications OR on this subject, and it seems that it is perhaps a problem with Labview.  They are working on it, so I'll go ahead and close this discussion.

    Thanks for the help,

    Allan

Maybe you are looking for