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

Tags: NI Hardware

Similar Questions

  • How to make the exchange of data between 2 whole loop real-time

    Hello
    I have 2 while loop
    the 1st loop includes data acquisition program
    the 2nd loop includes control program
    --------------------------------------------------------------------------------------------------------------
    My question is how do the exchange of data between 2 whole loop real-time

    --------------------------------------------------------------------------------------------------------------
    I tried with the variable and direct wiring between the 2 local while loop
    It does not work (there is a delay)


  • Unlike COUNTY and the difference in data between 2 sets of data

    Hey guys,.
    I have a question here, probably, it revolves around the UNION, INSERSECT and LESS and maybe something else I'm missing.

    I'm two sets of questions, and I have 2 paintings.
    select count(student_id) from adhoc_student_table1;
    select count(student_id) from adhoc_student_table2;
    
    select student_id from adhoc_student_table1 order by student_id;
    select student_id from adhoc_student_table2 order by student_id;
    These tables contain data and have been sorted by student_id. I want to find the difference in NUMBER between the first set of SELECT and I want to find a difference in the student ID in the second set to SELECT.

    Any ideas? As always, any help is appreciated!

    Hello

    These tables do contain data and have been sorted by student_id. I want to find the difference in COUNT between the first set of SELECT and I want to find a difference in Student IDs in the second set of SELECT.
    

    Hope this helps

    select (select count(student_id) from adhoc_student_table1) -
       (select count(student_id) from adhoc_student_table2) from dual
    
    ---If you want the difference in first table not available in second table.
    
    select student_id from adhoc_student_table1 order by student_id
    minus
    select student_id from adhoc_student_table2 order by student_id
    
    -- or you wanted the difference from both table.
    with tab1 as
    (
       select student_id from
          adhoc_student_table1
    )
    tab2 as
    (
        select student_id from
    adhoc_student_table2
    )
    select * from (select student_id from tab1
                         union select student_id from tab2)
    minus
    select * from (select student_id from tab1
                        intersect select student_id from tab2)
    )
    

    If you could post the input samples and expected, maybe you can get a more valuable solution.

    Concerning
    Anurag Tibrewal.

  • Need help with the use of beam between two subVis

    Hi all

    I have two inside a big Vi subVis that need to be connected one to the other.

    It's a complicated thing, I already have many sons in the wholesale Vi, which will become a mess if I connect these two subVis line-by-line (there are nearly 16 lines between them).

    I tried bundle but failed two times (basically I don't know how to connect the wires grouped source Subvi the slot - VI intended).

    Could someone give me an idea?  A simple example of VI would be useful.

    Thank you

    + Kunsheng

    You can get a lot of help on the Web site of NOR, too, as this document.

  • Best practices for the reader to 'Data' between VM?

    Hello

    So on my box ESXI, I have a 250 GB drive. I was wondering what the best practice is to have a 'data' drive shared between VM? I'm pretty new to virtualization so would like to view

    I would basically following drive configuration...

    Win 2008 R2 - 60 gb

    Win 2008 R2 - 60 gb

    Ubuntu 10.10 - 20 GB

    (Shared between the two areas of 2008) DATA - 100 GB

    Thank you.

    The only way to do this is to assign the drive to a virtual machine and create a network share. Unless you use a file system that supports concurrent access to files, an attempt to present the disk to several systems would probably end by the corruption of data.

    André

  • Help in the merging of data and create mailing labels

    I have a CSV file with three field ("name, envelope" "" = address"and"City ST Zip") and 245 records.

    I have the labels that correspond to seven on a page.

    I have the designed document. I am able to get the fields inserted, but... when I merge, I get the first page with seven the first record labels, the second page with seven second record labels, page 3 with seven third record labels. You get the photos. I want seven different addresses on each page. So... instead of having more to 35 245 pages.

    Is this possible or should I find a way to make my drawing in Word? * sigh *.

    Everyone made the same mistake; you set seven (records) to your InDesign document, are not.

    Create the first instance (upper-left)

    Go to control panel to merge the data and choose multiple records per page.

    It helps to have put guidelines in place for the Visual presentation and I try to keep the total area of my equal fields the number of hole - exactly 2 inches of width, for example.

    Data merge multiple records per page will need the values for spacing from room to room. Integers and guides make easier.

  • 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

  • Space in the store of data not released when a virtual machine is removed

    Hey all,.

    I have a game fairly simple up - two servers ESXi 2 Terminal servers. I'll have a problem, but with space in the store of data not be released on one of them after that I got a clone to the virtual machine, made my changes and removed the original. I can find no record anywhere, using vSphere (not in the inventory or when I browse the data store), but the HARD drive space using the server is still assigned somewhere.

    Any body have tips on where to find or how to fix this if it is indeed a problem?

    Any help is greatly appreciated.

    Thank you.

    How bout refreshing your data store? tab Configuration-> storage-> refresh?

    vcbMC - 1.0.6 Beta

    Lite vcbMC - 1.0.7

    http://www.no-x.org

  • The amount of data is used when you watch a movie online, a Wi - Fi connection?

    I have a MacBook Air, and I use a Wi - Fi sometimes connection for watching movies. I want to know how much data is used when I watch a movie of 2 hours to 720 p. I couldn't find a clear answer anywhere. Appreciate the answers. Thank you.

    15 MB/minute if you look at the video in 720 p, 34 MB/minute in 1080 p.

    3 GB per hour in HD.

  • Change the time and date of deposit when importing

    Hi everyone, when I import images in my project, automatically first change date and time with the current date and time in the finder. So each imported file have changed the time and date when I search in the finder under the "created" or "modified" column, is this normal?. There is no way to avoid this?

    Thanks in advance

    Yes, you can prevent this! Go to the preferences of first and go to the media section. Uncheck "Write XMP IDS to files on import". Boom, done. First will not add his small beacon of metadata files when you import them. This isn't a huge deal for most publishers except Adobe apps could create media Cache files more than necessary if you re - use clips in other projects. Don't forget, however, anything, if you change the metadata (in the project Panel or metadata) file, it'll still change changed data for the clips.

  • Need help on the list of months between two Dates

    Hi all

    I have a table which has startdate and enddate and need a select to list all the months between these two dates for each given ID.
    I did some tests and could not figure out how to get the startdate and enddate table (instead of hard coding) tests in the select statement.

    Could someone please help on this (Oracle 11 g 2),
    Thanks in advance!


    create table testing(
    id          number,
    start_date  date,
    end_date    date);
    insert into testing values(100, to_date('05-FEB-2011', 'DD-MON-YYYY'), to_date('28-MAY-2011', 'DD-MON-YYYY'));
    insert into testing values(200, to_date('20-JUN-2011', 'DD-MON-YYYY'), to_date('28-DEC-2011', 'DD-MON-YYYY'));
    commit;
    
    select * from testing;
    
            ID START_DAT END_DATE
    ---------- --------- ---------
           100 05-FEB-11 28-MAY-11
           200 20-JUN-11 28-DEC-11
    
    Elapsed: 00:00:00.01
    
    *for testing.id = 100:*
    select to_char(add_months(to_date('05-FEB-2011', 'DD-MON-YYYY'), l - 1), 'YYYY-Mon') Dates
     from (select level l
           from dual
        connect by level <= months_between(trunc(to_date('28-MAY-2011', 'DD-MON-YYYY'), 'MONTH'),
                                           trunc(to_date('05-FEB-2011', 'DD-MON-YYYY'), 'MONTH')) + 1);
    
    DATES
    -----------------
    2011-Feb
    2011-Mar
    2011-Apr
    2011-May
    
    Elapsed: 00:00:00.01
    
    *for testing.id = 200:*
    select to_char(add_months(to_date('20-JUN-2011', 'DD-MON-YYYY'), l - 1), 'YYYY-Mon') Dates
     from (select level l
           from dual
        connect by level <= months_between(trunc(to_date('28-DEC-2011', 'DD-MON-YYYY'), 'MONTH'),
                                           trunc(to_date('20-JUN-2011', 'DD-MON-YYYY'), 'MONTH')) + 1);
    
    DATES
    -----------------
    2011-Jun
    2011-Jul
    2011-Aug
    2011-Sep
    2011-Oct
    2011-Nov
    2011-Dec
    
    7 rows selected.
    SQL> select * from testing
      2  /
    
            ID START_DAT END_DATE
    ---------- --------- ---------
           100 05-FEB-11 28-MAY-11
           200 20-JUN-11 28-DEC-11
    
    SQL> select  id,
      2          to_char(add_months(start_date,column_value - 1),'YYYY-Mon') dates
      3    from  testing,
      4          table(
      5                cast(
      6                     multiset(
      7                              select  level
      8                                from  dual
      9                                connect by add_months(trunc(start_date,'MM'),level - 1) <= end_date
     10                             )
     11                     as sys.OdciNumberList
     12                    )
     13               )
     14    order by id,
     15             column_value
     16  /
    
            ID DATES
    ---------- --------
           100 2011-Feb
           100 2011-Mar
           100 2011-Apr
           100 2011-May
           200 2011-Jun
           200 2011-Jul
           200 2011-Aug
           200 2011-Sep
           200 2011-Oct
           200 2011-Nov
           200 2011-Dec
    
    11 rows selected.
    
    SQL> 
    

    SY.

  • Help with the problem of data type...

    Hi friends,

    I have a requirement. I have a warrant 2 guests (from and to). The data contained in the guests are like "Fall 2006", "spring 2006", "full of 2006", "Academic 2006"for a given year. " I have data from the year 2000 to 2008. The data type of the column duration in varchar. I have a report corresponding to this prompt. This report works well if it is not linked with the guests. If I have this tie with guests, its giving me results because in the report I gave filter as term is greater than or equal to ' fisrt_pv "(où first_pv est la variable de présentation j'ai utilisé pour mon d'invite de terme... comme second_pv sage est pour à terme rapide) and the term is less than or equal to"second_pv"."» So, if I put my guest (and) fall 2007 and (spring 2008 to) and run the report, its sends a fall 2007, Full 2000... Full2008, spring 2000... Spring 2008. It is because it is comparing the term based on letter of departure with all the other term. We know that the fall 2007 and spring 2008 are next to next semesters, is expected to see just a 2-column output. How do oracle know that?

    I have a term_number associated with this table numbered 1 to the spring of 2000, 2 Full, 3 for autumn 2000 2000, 4 for academic 2000... all the way up to academic 2008. I used this area to the command prompt to order because I want the guest to show as the spring of 2000, Full 2000, fall 2000 etc. instead of 2000 academic, University 2001... hope this field will be useful for you to analyze... I need your help to do this... If you need other info let me know... Thanks for your time n help...

    Kind regards...

    Yes. The problem is that your guests are CHAR, so the calculation "superior to" is done alphabetically rather than numerically. This digital keys.

    Create two columns to contain the term_number that match the values selected in your guests. Then the BETWEEN operator do not filter on numeric values. You can still view the CHAR values in your report, but now they will be in the range that you would expect.

  • Problems with the transmission of data between the screws

    Hi all.

    I have a question where my program slows considerably during the race.

    The program is a producer-consumer, where I have the main consumer loops and loops producer for USE comms, measure the output power, input for measuring the power, thermal control, etc..

    Regarding the issue, the measures of output loop takes readings and transmits the data to a separate VI which remains running (measure of output processor). This VI summarizes and on average the data and also displays data for the operator to see details if necessary. The operator shows and hides the front panel of this VI with a button on the main program. This VI also returns the summary data to the main VI, where it is read by my loop of consumer.

    The main measures output VI loop takes about 200mS to run when the program is first started. Less than a minute, it is 400 MS, and it's all downhill from there.

    I've isolated the problem to the way I pass data back (I think). I couldn't find a way to pass the reference of the queue between two screws not connected by wires. I open a reference to the VI processor and use Ctrl Val.Set and Get to pass the data back. If I take the intersection of the Subvi data, there is no slowdown.

    My questions are:

    (1) why the data passing by invoking a node of the control on the target would cause the downturn?

    (2) how would I get/pass information of queue between the two screws are not connected?

    (3) Alternately, could I start the VI processor in my main program, run and pass data in and out of it? I want to keep it running, because it is also part of the user interface.

    I don't know that I have not explained this very clearly. I took some screenshots of my code, but don't see how to download here.

    Thanks in advance,

    Jim


  • BlackBerry smartphones HELP! The passage of the storm to turn! SIM does not work!

    So, I've was stoned by Verizon & could not update until next June. Had to pay retail for a phone & so, I transferred (because the storm sucks) and paid retail for the tour. There today (ordered from Best Buy) and changed the Sim Card but it keeps telling me that activation is required. Help! What should I do? I'm doing something wrong? =(

    On a CDMA/GSM device, swapping the sim card is only a part of what needs to be done.  You must call Verizon and activate the new ESN.

  • Problem with the help of the buttons to go between scenes

    Hi all

    I was wondering if you could help me with a problem I have.

    I make an interactive website using ActionScript 3 and no matter what I try and do I keep getting the following error messages:

    Characters, layer 'actions', frame 2, line 5 1021: duplicate function definition.

    Characters, layer 'actions', frame 2, line 12 1021: duplicate function definition.
    Characters, layer 'actions', frame 2, line 19 1021: duplicate function definition.

    I don't really understand what I'm doing wrong because it says "dual function" and yet they are not the same functions.

    Here is the ActionScript code I used for the first page:

    Stop();

    home.addEventListener (MouseEvent.CLICK, goHome);

    function goHome(evt:MouseEvent):void
    {
    gotoAndPlay ("Home", 1)
    }

    characters.addEventListener (MouseEvent.CLICK, goCharacters);

    function goCharacters(evt:MouseEvent):void
    {
    gotoAndPlay ("characters", 1)
    }

    game.addEventListener (MouseEvent.CLICK, goGame);

    function goGame(evt:MouseEvent):void
    {
    gotoAndPlay ("Game", 1).
    }

    I have attached my .fla and .swf, textlayout in a zip folder files for anyone to take a look at.
    Thanks for your help and keep up the good work!

    Download .zip:
    If this does not work please tell me!

    You repeat this code in other scenes?  If so, what will be the problem for these errors.  You will do yourself a favor if you don't mix the scenes and navigation... Keep it all in the first scene and the use of labels and image clips.

    Another error, you will get probably will use the bad arguments in the gotoAndPlay() commands, assuming you are using gotoAndPlay (scene, frame)... in AS3 it is inverted to gotoAndPlay (frame, scene)

Maybe you are looking for

  • ENVY 15 laptop t: remove the back of the laptop (aluminum housing) ENVY

    I am wanting to add an SSD 2.5 "to my computer laptop but how do you get the back without damaging the metal case?

  • Foxtab PDF Converter exists, it is malware?

    Heard on an add-on Firefox called Foxtab PDF Converter, google, got four hits in saying it as malware and pervasive (as for uninstalling it.) It is supposed to convert any file that can be printed to PDF, which resembles a very handy add-on. Everyone

  • G510 RAM upgrade

    HelloI have this laptop and I want to update it's ram.1.5V memory module works with my device?I know that I already have 1.35v module installation. Can they work together? Thank you

  • For help. DLL file / library call for the USB camera Image data file

    Hello I'm new to the use of the library and imaging data files. Attached is a picture of the "call library leader." I don't know how to set up the entry of 'beef' / frame buffer. More information is explained in the attached PDF file. Basically, I ju

  • Black screen on startup and error message.

    I am running Windows Vista 64-bit.  Recently there was an automatic update done and since it was made when the system boots up I get a black screen and an error message saying "C:\windows\explorer.exe" "the version of this file is not compatible with