Accessing "globals" from 2 different executables

For an application we need to access the same set of "globals" from 2 different executables.
How can this be done?

hi
can't be done (as far as i know). each executable has its own data space, so no memory or vis are shared between two executables (well, otherwise the behaviour of an app could change when other apps are opened). to share data between two apps i suggest to use dstp, tcp, udp or just a simple ini-file.
or: build a single application. the top level vi of the app calls both top level vis of your apps dynamically. then they use the same dataspace.
best regards
chris
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"

Similar Messages

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • Javamail - How do you access mail from a different Google domain

    I'm trying to accessing mail from a different Google Domain (custom google apps domain i.e. email(at)labs.com
    Currently the application is accessing the mail from Gmail and sending it to same mail id
    Does anyone know how to change this?

    I don't actually know, but I would guess that either there's a mail server running at imap.labs.com,
    or else you just login to imap.gmail.com using your labs.com email address.

  • Accessing data from 2 different servers

    I have oracle data on 2 different servers. I want to access the data retrieve it
    through a sql query and combine the data retrieved. How do i retrieve the data
    on the 2 servers.
    thanks

    try, like this
    SQL> select name from v$database;
    NAME
    DBDEMO
    SQL> create user testing identified by passwd;
    User created.
    SQL> grant connect,resource to testing;
    Grant succeeded.
    SQL> conn testing/passwd;
    Connected.
    SQL> create table test_tb (id number);
    Table created.
    SQL> insert into test_tb values(123);
    1 row created.
    SQL> /
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from test_tb;
      COUNT(*)
             2
    SQL>
    on dblink created machine:-
    SQL> select name from v$database;
    NAME
    DB2
    SQL> create user nic identified by nic;
    User created.
    SQL> grant connect,resource, create database link to nic;
    Grant succeeded.
    SQL> conn nic/nic;
    Connected.
    SQL> create database link test_db_link connect to testing identified by passwd using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbdemo)))
      2  ';
    Database link created.
    SQL> select count(*) from test_tb@test_db_link;
      COUNT(*)
             2
    SQL>

  • Accessing something from an different MacBooks Backup

    I had a MacBook that I was doing time capsule backups for.  When I got my new MacBook, I did not want to do a backup from that so I didn't  But now I need something from one of the past back ups.  I know it's there because the time capsule is showing only half of the space available but when I go into time machine it only lets me access the current MacBook backups.  Is there a way to view and retrieve something from my other MacBooks backup? 

    I don't exactly understand the situation.
    If you didn't run Time Machine backups from the new MacBook why are there two backups on the TC?
    There are details on opening other TM sparsebundles in finder here.
    Q17 and it will reference you back to earlier Qs.
    http://pondini.org/TM/FAQ.html
    You can find the file directly from the sparsebundle if you know where it is.

  • Corrupted user account - access files from a different user?

    I am writing with a problem that I've had for about a week now, and which I have been working with an Apple tech support person to resolve, but I figured I would give this forum a shot, as well.
    Last Sunday, my Finder suddenly died on me - I think it was the result of a corrupt file. I first noticed it when I would mouse over my desktop and get a perpetual beachball. I couldn't open a Finder window (or use any applications that rely on accessing my files - iPhoto, iTunes, etc.; the only application that seems to work fine is my internet browser), and when I restarted my computer, I got the same issue when it was back on. I called Apple support and have been working with a senior support rep. We did an archive and install, recreating my old user account named exactly as it had been before. Once I was logged back in, though, I again got the beachball on my desktop. The other admin accounts on the computer do not have the Finder beachball problem, so it is linked specifically to my account. Paul (my tech support friend) recommended that I buy an external hard drive, and if we can't figure out a solution short of backing up my files and erasing my hard drive, we'll do that.
    My question is as follows: will I even be able to access the files on my account from another account if the finder in my account isn't working? I really only want to back up my work files, music, and photos. I can get everything else back. There are now two (or maybe three) admin accounts on my computer - can these accounts access each other's files?
    I appreciate any answers to my question (or any advice you might have for how else I could resolve this situation).
    Thanks!
    Message was edited by: EMV123

    Assuming the problem account has short user name "foo", and one of the other working accounts has short user name "bar", try this:
    1) Log out of the foo account.
    1) Log in as bar.
    2) Open Terminal and enter this:
    su foo (press return, enter foo's password when prompted)
    rm ~/Library/Preferences/com.apple.Finder.plist
    exit
    See if foo's Finder works now.

  • Moving iWeb to my iDisk so I can access it from two different machines

    Hi,
    Wondering if anyone has any experience in updating iWeb from more than one Mac?
    I've just migrated from my old MacBook (running Tiger) to my new MacBook Air (running Snow Leopard). The migration has of course brought over all my iWeb files as well. As my MacBook Air is for travelling, I would ideally like to leave most of the the management of my iWeb sites to my old compouter which will stay at home and continue as usual. However it would be also be convenient if I could alter the iWeb sites with my Air from time to time.
    I've read that all the details and files for iWeb sites are stored in the "Domain" file in /Library/Application Support/iWeb/ , however I now have two Domain files, one on each computer, and I'm terrified to change anything using the new one in case I corrupt the websites...
    Could I move one of these "Domain" files to my iDisk, so the iDisk version could be the "master". That way, when I want to alter something, I could connect to the iDisk using iWeb on whichever computer I'm using (if that is possible), and alter the details there on the iDisk so there are no conflicts.
    It might be an issue that my old Macbook is running iWeb'08 and Tiger, and my new one is running iWeb '09 and Snow Leopard? If this would make it impossible then I'd delete all iWeb sites from the new MacBook Air except I'm afraid that might delete the websites from the server, as both computers are linked to the same MobileMe account!
    I'd be very grateful for any advice, even if it's only how to safely delete the site from the new computer.
    Thanks,
    Sarah

    sarahsmoff1 wrote:
    Do you know though if it's possible as a concept to store the iWeb Domain file straight onto your iDisk and therefore modify the iDisk copy directly (as the master) every time you open iWeb on your mac?
    Sarah ~ I've never tried that, but perhaps it's possible. Once you've transferred the Domain file to iDisk, double-clicking it there should open your site in iWeb. And iWeb should remember that location in future so that when you open iWeb (rather than the Domain file), it will open the Domain file that's on iDisk.
    But even if that were to work, I think it's riskier than the normal case of working from the Domain file on your Mac. You'll still need to separately backup the Domain file on iDisk and, when you do a Save or Publish, iWeb will have to update the Domain file on iDisk — which will take more time than usual and perhaps cause iWeb to think there's a problem.
    Perhaps others would differ, but I think it's best to have your "master" Domain file on your Mac and, after updating your site, copy the Domain to iDisk for backup. The Backup app in your Applications folder can be used to do this...
    Once you've created a "Plan" in the Backup app, click on the Plan menu and choose Full Backup — which will add (rather than incrementally modify) a new copy of the Domain file to iDisk. And, as time passes, manually delete previous Domain file backups from iDisk that you no longer need. To confirm that the Backup app has copied your Domain file to iDisk, go here:
    http://www.me.com/idisk
    ...and click on the Backup folder in Home. To delete an unneeded backup from that folder, select the backup and then click the Trash icon.

  • Accessing tables from different schema in CDS and AMDP

    Hi All,
    We are working on a HANA system which has several schema replicated from SAP R/3/Non SAP systems. We have BW 7.4 SP9 deployed on the same system and accessing the HANA views using latest BW virtual objects such as Open ODS , Composite providers etc.
    We are also using the BW system for few ABAP based data processing developments. We are currently accessing HANA views in ABAP programs by creating dictionary views based on external HANA views.
    We would like to however use recent possibilities of CDS and AMDP for better life cycle management of ABAP based solutions. The open SAP course on this subject was of very good help. Thanks a lot "open SAP team" for that. I would however have few open questions,
    As I understand AMDP gives us full flexibility of writing sql procedures within ABAP development environment, but can we access tables from different schema into AMDP code. If yes, then sample code would help.
    If the answer of first question is yes, then how do we manage transports between development and production systems where the schema names would be different. Currently in open HANA developments, such transport is manged using Schema mapping.
    Can I also use different schema tables in CDS views.
    We are updating few tables in ABAP dictionary after applying processing logic in ABAP program as detailed in step 1. With the new approach using AMDP, can we directly update database schema tables which will give us an optimization advantage.
    New ABAP HANA program interfaces are quite promising and we would like to use them to optimize many data intensive applications.
    Thanks & Regards,
    Anil

    Hi Anil,
    I can only answer 1. and 2. (and would be interested into 3. as well):
    1.
    Yes you can access tables from a different schema and also HANA views. In this case no 'using' is needed.
    Examples:
        RESULT = SELECT
        FROM
              "SAP_ECC"."T441V" AS t,
              "_SYS_BIC"."tmp.package/AFPO" AS a.
        WHERE ...
    2. In this case, if you need schema mapping: You could use HANA (projection) views which just forward to a different schema, also see example.
    Best regards,
    Christoph

  • How do I access  data from one user account to another?

    I want to access data from a different user account. How do I make all the files available?

    I have another post here in the forum that explains in detail about the rez problem. It was read by a lot of people with no responses. 1 thing that might be important is that I was using a Wacom drawing tablet when this problem started. I removed the Wacom software and no help.
    My Apple 23" Cinema display has very large icons but the display prefs says it is at 1920 x 1200. It's not just a low screen rez but the dock and all icons will scroll on the screen when I move the mouse.
    The resolution will not change to anything else. The rez is fine on other user names.
    I have booted from the Apple DVD and run disk repair, repaired disk permissions. Booted and run Tech Tool.
    Booted from the Disk Warrior cd and ran that.
    I have zapped the PRAM. I have plugged the display into the other port on the video card.
    When I change to the problem user name it is fine for about 1 second and then changes to the "problem". I have never seen this before and I have been using a Mac since 1990.
    It's a G-5. Dual 2.0 ghz. 2.5 gb ram. OS 10.5.8. Apple keyboard. Logitech mouse and
    Thanks.

  • Guidance required: How to access global panel/file handles from within a dll?

    Hi again,
    I have been tasked with trying to separate an application into a modular form, basically I will have a main application which will be a generic GUI which must be associated with a DLL that contains test sequences. Currently these test sequences make calls to the various panel controls to display the test information, this currently works great. The problem that I am having is trying to understand code that is compiled to create a DLL is made aware of, what is essentially, global constants that are defined in my main application. 
    The purpose of this structure is that we will have a generic GUI for multiple products tests, with each DLL representing a different products test sequence, each DLL will be built using the same framework with the generic GUI in mind. 
    I guess essentially what I am looking for is to call RunUserInterface() from main.exe and control the GUI from tests.dll. Is this at all possible, or should I be using a different approach?
    It would be much appreciated if someone could give me some pointers.
    Thanks very much 

    Well, in my opinion for such a software design, DLL modules should not directly modify the main GUI.
    The main.exe should be responsible from its GUI, so that in case of a GUI modification you should not be have to modify all DLLs.
    Also, in this case, there is no problem of accessing global handles, etc.
    Instead, you should send "messages" to the main.exe from the test DLLs and the GUI should know what to do with each message.
    For messaging between such applications I personally use the DDE library. I find it simple to use.
    Your main.exe can setup a DDE server and the test DLLs can attach to it as a client.
    Each DLL can send its "steps" to the GUI and the GUI can display them and command the DLL to run each step upon user's selection. 
    I have seen menchar's posts regarding "shared memory" usage for such purposes.
    There might be other options, too. 
    It is your decision to make.
    Hope this helps, 
    S. Eren BALCI
    www.aselsan.com.tr

  • How can I remotely access my computer from a different location on Apple Remote Desktop?

    I downloaded Apple Remote Desktop and am trying to access our computer at our church that is in the auditorium and work on slides for ProPresenter from my office which is on a different network. The Mac Pro, which is in the auditorium, is connected to a Netgear wireless router. I would also want to be able to have access to observe and control the screen on the Mac Pro whether I am in my office or at my house. I have tried everything from going to portforward.com, followed those instructions, did port forwarding, used ipchicken.com to get my external IP and made sure that the Mac Pro had a static internal IP address and made sure the computer had access for remote management. Any help to resolve this issue would be greatly appreciated! Works fine when it is on the same wireless network, but I need access being on a different wireless network. Thanks!

    Hi austinmac14,
    So the steps listed bellow assume some things. They assume that the Airport Extreme Router your configuring is connected directly to the internet connection. And that the Airport Extreme is the only router between your computers and the internet.
    That means we're talking about say a DSL modem plugged directly into the Airport Extreme, or a cable modem. in ether case, this assumes that said modem, is not acting as an internet router.
    If your modem has multiple ethernet ports on it, or has a little antenna sticking out of it, then your modem is probable also a router, and these steps listed bellow will probable not work.
    Also these steps are so one person, can connect to one computer at your work.
    Open Airport Utility:
    go to the dock
    Click on the finder
    go to the menu bar
    Click on the "Go" menu
    Chose "Utilities" from the "Go" Menu
    double Click on "AirPort Utility"
    Access the Base Station:
    Double Click on your Airport Extreme BaseStation that is your internet connection router.
    a new window should pop up with your Airport Base Station as the Window Name
    Configure Static Address for the computer you want to connect to via ARD:
    Click on the internet Icon from the toolbar
    Click on the "DHCP" tab
    For "DHCP Reservations:"  Click on the "+" button
    For the "Description" put "ARD"
    For "Reserve Address by:"  set "DHCP Client ID"
    Click the "Continue" button
    For "DHCP Client ID:" set "ARD"
    write down the number in "IPv4" address field
    Click the "Done" Button
    Configure routing to ARD computer:
    Click on the "Advanced" icon from the tool bar.
    Click on the "Port Mapping" tab
    Click on the "+" button
    for "Service:" Chose "Apple Remote Desktop"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8)"
    Click the "Continue" button
    Click the "Done" button
    Click the "+" button
    For the pulldown menu "Service:" Chose "Remote Apple Events"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8."
    Click the "Continue" button
    Click the "Done" button
    Click the "+" button
    For the pulldown menu "Service:" Chose "Remote Login - SSH"
    for "Private IP Address:" copy the exact IP address you wrote down in step "3. 8."
    Click the "Continue" button
    Click the "Done" button
    Click the "Update" button.
    wait for the Airport Extreme to update, and for your computer to reconnect to the airport extreme. (make sure you can load and browse websites.)
    Configure the ARD computer to use the correct IP address:
    Go to the computer you want to be able to remotely connect to
    On that computer, Go to the menu bar
    Chose the "Apple" menu bar
    Chose "System Preferences…"
    Click on the "Show All" button
    Click on the "Network" icon
    For the active network connection, (the connection on the left side with the green dot), click on it
    Clock on the "Advanced…" button
    Click on the "TCP/IP" tab
    for the "DHCP Cient ID: field put "ARD".
    Click the "OK" button
    Click the "Apply" buttonNOTE: Under "Status" you should see "(connection name) is connected to (airport base station name) and has the IP address (IP address)." the "(IP address)" address displayed should match the IP address you wrote down in step "3. 8."
    Find out what your public internet IP address is.
    On the computer you wish to connect to over the internet, gotohttp://whatismyipaddress.com/
    when the web page loads, you should see "IP Information:" fallow by a number like 192.168.0.1, write down what ever number it is.
    At this point you should be able to connect to the computer remotely
    connect to the internet from another location.
    open Apple Remote Desktop
    go to the file menu
    chose connect to computer using ip address
    set the address to the address to the IP address you wrote down for step 6. 2.
    use the same password as you used to connect to the computer at work using ARD.
    So here the catch. If your router gets reset... well then your going to have to configure it again. Also all the same rules you have to connect to the computer at work, also apply to connecting to the computer from over the local network. That means your computer need to be on or sleeping. And if it's sleeping it need to be configure to wake for network access.
    Also some network connections change.  When it comes to internet connections, some connections are static IP, while other connections are DHCP. If your connection is static... great! if it's DHCP, your address may change. If it dose.. well then your ability to connect will break. And then you'd have to do step 6 & 7 again.
    Of corse there are ways around this. But that's kind of another conversation.
    Some internet locations may block your ability to connect to your computer at work. This is very common at schools, and companies. Basically any place that tries to control your ability to browse the internet, may block remote access to computers; because a remote computer would completely by pass their web filter.
    ALSO there is an easier option. As far as setup. There are programs designed to make remotely accessing your mac as easy as possible. For instance there is LogMeIn or Slack. With both of these programs, it's simple. make sure your computer is always on. Then install the software. Create an account with the service. And then you can connect to the computer almost any where by going to their website.
    This option requires no router configuration. It handles DHCP. It's designed to work in as many locations as possible.

  • How do I access and use my Itunes library from a different/new computer?

    How do I access and use my Itunes library from a different/new computer?  My computer is no longer working, so I need to be able to access my library from my wife's computer.

    Your library will only be where you put it.  Copy everything from your backup copy of your old computer to the new one.
    You can redownload some itunes purchases in some countries:
    Download past purchases - Apple Support

  • How do I access music from different countries? My account is in Australia

    How do I access music from different countries? My account is in Australia and I want to purchase music in Franch

    In order to buy from another country's iTunes Music Store, you must have either:
    a) a credit card with a billing address in that country, or
    b) a mailing address in that country and a gift certificate or a prepaid card that was bought in that country.
    If you cannot fulfill one of these two sets of conditions, you will not be able to purchase from any given country's iTMS.
    This, BTW, is due to restrictions placed on Apple by the record companies and other rights holders (who are often completely different from country to country and so all require their own individual negotiations and contracts), not by Apple's choice.

  • Access a component in an mxml file from a different mxml file

    Hi,
    I want to access a component in an mxml file 1 such as this one  <mx:Image id="img" width="101" height="200" source="{product.image}"/> using the
    id
    from the actionscript function from a different mxml file 2
    public function init():void
           HERE.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );    
    so i can make it dragable, Please help me  in this if u can urgently!!!!

    okay,
    I have the image component in ProductCatalogThumbnail.mxml, which has an id of "img"
    so, i created a public variable in the file and a public function that returns the value of the object.
    public var imagecopy:Object;
            [Bindable]
             public function imagecopyfunction():Object{
             imagecopy  = img;
             return imagecopy;
    now, I want to access this image in the mxml file ProductList.mxml in a function
      public function init():void
          ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
         // accepting a drag/drop operation...
           this.area.addEventListener( DragEvent.DRAG_ENTER, acceptDrop );
           // handling the drop...
          //this.area.addEventListener( DragEvent.DRAG_DROP, handleDrop );
    I tried to use the variable, and then i tried to use the function:
    I got this error when I tried the variable : 1119: Access of possibly undefined property imagecopy through a reference with static type Class.
    ProductCatalogThumbnail.imagecopy.addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
    and this error when i tried the function:  1061: Call to a possibly undefined method imagecopyfunction through a reference with static type Class.
    ProductCatalogThumbnail.imagecopyfunction().addEventListener( MouseEvent.MOUSE_DOWN, beginDrag );
    i made sure i imported ProductCatalogThumbnail file in the beginning of my application.
    I am not sure what went wrong.

  • How to access symbol from different stage

    Hi everyone,
    I'm really new at Edge, so I still have a lot to learn and I need your help with something..
    I want to know how to access a symbol from another stage, here's what I've and what I want to do..
    I've the main index page with symbol named "content", in content I load other composition (page). called "page2".
    all I want to do is when I click a symbol "XX" inside "page2". The "content" symbol loads other composition called "page3".
    I don't know how to access "Content" from "page2", so I could load "page3" ..  that's it
    I feel like it's simple, but I just couldn't know how to do it, I',m sorry for bothering you for such a question, but I've searched a lot and I got nothing.
    Thanks
    I thought I could use something like this
    var comp = Edge.getComposition("EDGE-638329");  
    var stage = comp.getStage(); 
    var symp= comp.stage.getSymbol("content");
    EC.loadComposition("assets/units/stage1/s1_3/s1_3.html",symp);
    but it's still not working, could someone please tell me what I'm doing wrong?

    I have multiple compositions, where I need to go from one to another.
    I use click scripts in an element to do this, using identical pages with different animations on each page.:
    Click script:
    AdobeEdge.goLoc(url); //url is the URL of an identical new html page with a different animation
    Then I have a custom .js page that I use that has the function:
    AdobeEdge.goLoc = function(url) {
    location=url;
    Peter Small

Maybe you are looking for

  • Network drives for iTunes library...

    Hi, At the moment my current iTunes setup consists of 4 external desktop hard-drives storing my library - music, movies and TV shows (4.6TB is the size of my library). I want to use a network attached storage device that works well with a Mac OS X an

  • ProRes presets for Media Encoder CC now available for download

    Hi everyone, We have new ProRes output presets available for Media Encoder CC. You can download the presets here While the new presets do not add new functionality to Media Encoder, they do provide added convenience. By definition, these presets are

  • Field BSEG-HKTID. does not exist in the screen SAPMF05A 0332

    Dear ALL, Our client is ECC 6.0 we are facing a problem while posting the park document Field BSEG-HKTID. does not exist in the screen SAPMF05A 0332    Message no. 00349 Diagnosis    The specified field does not exist on the screen. Procedure    Chec

  • Invoice in XL reporter

    Hi Experts,               Is it is possible to create an invoice format in XL reporter

  • Battery Care Question

    What is the best way to prolong/take good care of the battery in the Mac Book Pro. I will probably use it mostly at home. Should I always keep it plug into the outlet. Or should I allow it to drain and then recharge it and if so how often? When I had