Passing data to and from Comm Sub Vi with 2 loops

Im sure this is simple, and I think Im stuck in vacation mode and cant wait the 4 more hours till I leave, but this is really bothering me. I have a pretty large Queued State Machine and within that machine I have some states which must communicate via the TCP/IP port. My servers are complete and made into Executables and work fine, however I want to leave my clients as sub vi's so that I can easily pass in and retreive data from them. They are designed with 2 while loops, one for sending the data and one for reading the data back. At the very least the read loop needs to remain in a loop to pick up unsolicited messages from my CAN server. However when I place these into my master QSM they hold up the process because of the loops executing. Now I have made a separate loop in my QSM for all my communication clients so the rest of the QSM runs but I cant pass data into these clients because they are stuck executing the loops internally and dont stop to pull in data.
I should note that if I run my QSM to spawn the servers, then run my client as a separate VI rather than a sub and type my commands there then they execute perfectly.
So if you can follow my crazy description what would be the best/cleanest way to circumvent this so I can get moving ahead. Thanks, Dave

Dave,
Would it work to use a queue to pass data from your main QSM loop to your communication loop? You could write the commands to the queue from your main QSM loop, and pick them up in the communication loop. They would then still run in parallel. Let me know if this works, or if you are looking for something else.
Robert Mortensen
Software Engineer
National Instruments

Similar Messages

  • Repeatly passing data to and from external program

    I'm looking for some help to get me started.  I'm willing to bet
    the info is here I'm just not sure what to look for and my searches
    aren't reveiling anwsers. 
    Background: I'm trying to take control of a device that is comunicating
    through the PCI bus.  The device has a set of API dll's that I can
    access through C++, but not directly in LabVIEW.  So wish to creat
    a wrapper program that will give LabVIEW indirect access to the
    dlls.  
    Problem: I've breifly read up on CINs and Libaray call functions and
    have found one underlying problem with both.  I have not found a
    way to pass data back and forth between the external code and LabVIEW
    once the external code is running.  I require an interactive
    conection between the two. 
    Any sugestions of what to search for would be greatly appreatiated, or even how to resolve my problem.
    Thank you.
    Don't get even, get odd!

    If the data buffers are owned by the driver and are updated asynchronously, you should expose that buffer to LabVIEW as a handle (simple int32 for the pointer to the buffer). This can then be passed to the wrapper code and checked (implements your polling). Remember that handling tasks in LV that should run in parallel is different from C++ however - you don't create threads, instead you should simply set up independent loops.
    I'm not sure what else to suggest since I don't fully understand what the API does or what the HW is doing, so feel free to post more information if you want more suggestions
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • Best way to pass data to and from a fieldpoint unit

    Hello,
    I am just starting to play with a fieldpoint unit and I was wondering the best way to send and receive data with it.  We are setting up a pumping station and need to send the FP a setpoint and be able to read other sensor connected to it.  I know there are at least a few options such as data socket, publish data, shared variables and maybe tcp/ip.  But I was wondering as to the best/easiest option.
    Thanks

    For case #1, you wouldn't have to do anything special.  The setpoint would just remain at whatever value was last written to it by the host system (the one where you are at the controles).
    For something like #2, you would probably want an extra routine, such as read the timestamp of the shared variable, if the cFP sees that it is too old (whether that would be a minute, an hour, a day ....) then the code goes into a pump down routine.  Another possibility would be a watchdog type of shared variable.  The host system periodically increments a counter and sends it to a shared variable on the cFP.  If the cFP sees that the counter hasn't incremented in a given period of time, then it can assume a connection was lost and do the shutdown routine.
    Going with shared variables will definitely get you started quicker.  Good luck with your application.

  • Is it possible to pass a formula value from a sub-report to a main report

    Hi there,
    Im trying to pass a formula value from a Sub-report back upto into my Main report but the value doesnt seem to be getting passed up. Ive tried it the other way around, that is, passing a value from the main report to the sub-report and that works fine.
    Below is an example of what I am trying to do but it is not working. In my sub-report Ive declared a formula variable as,
    formula name=main_subIntRatePageCount
    Shared NumberVar subIntRatePageCount := TotalPageCount;
    and in the Main report Ive declared the formula variable as,
    formula name=subIntRatePageCount
    Shared NumberVar subIntRatePageCount;
    subIntRatePageCount;
    I want the value assigned to "subIntRatePageCount" in my Sub-Report to be available to my Main report.
    The problem I am trying to solve is that the sub-report is spilling over onto two pages, and I need a way of updating the page display on the main report to reflect this. The page display is of format, "displaying page 1 of  3", but its not taking into account the extra page produced by the sub-report, so it should say "displaying page 1 of 4".

    Also thanks Raghavendra, Asha,
    I've tried adding the "whileprintingrecords" statement but that doesnt seem to make any difference.
    I notice that the subReport is being called from my the GroupFooter section of the main report, and I am trying to reference the variable in the main repot in the Page Footer section. Could it be that the variable hasnt been calculated in the Page Footer by the time I calculate it in sub-Report? I thought Crystal Reports does at least 5 passes over the report evaluating all the formulas before it prints the report?
    The problem Im trying to solve is I need to know how many pages my report will have before its completed, so that i can print the statement "displaying page 1 of X", and X is currently not being calculated correctly because the sub-report is printing onto 2 pages and not 1 so the report thinks I have 1 of X pages and not X+1.
    Regards
    Robert.

  • Iphone sync is making me crazy how can I get data to and from my iphone without syncing?

    I'm a pc user and i'm sick of the iphone sync process jacking up my life when I decide to reinstall windows and the old itunes data is no longer there. how can I etup my iphone to not have to sync but transfer data to and from it like an android?

    The only way to get data onto the phone is by syncing.  To get some photos off the phone you can connect the phone to the computer with USB cable and use windows explorer to view and copy the photos from the phone to the computer.  You could use a program like ibackupbot or something similar on your computer and get data off the phone to your computer using that

  • IDoc_02_Error passing data to port-Communication error when  sending with HTTP

    Hello All,
    We are receiving the error "02_Error passing data to port-Communication error when  sending with HTTP", when sending the idoc to PI from ECC system.
    Observation:
    1. Some idocs are failing and immediately after sometime the same type of  idocs with different idoc numbers are getting successful.
    Eg: Orders. One purchase order is failing at one point of time. later another purchase order is getting successful after some time to the same partner.
    2. If i perform the reset of idoc, then it is getting delivered during next scheduled job run.
    please help me in resolving the issue.
    Regards,
    Ch. Venkat.

    status 02 is     Error passing data to port ...it simply means your port setting has some problem. do configure your port setting and also in partner profile
    Thanx and Regards
    Arpan Maheshwari

  • Passing data row-wise from one VO to another.

    Hi,
    I am a ADF newbie so I have a slight issue which I am not able to resolve.
    I need to pass data from table t1 to table t2 which I am able to establish by creating viewlink between the two. But each time I press the 'CreateInsert' button for the VO made for t2,I need a different value to be passed. Basically, I need to pass values rowwise from t1 each time the user clicks the 'CreateInsert' button for t2 VO.
    Eg. If there is an itemCategory table which contains the attributes for an item such as Expiry Date,Food Code,Type of food then for the itemFood, each time I click the 'CreateInsert' button, a new row should be created where attributeId has to be passed one by one i.e. on first click Expiry date should be passed, 2nd click food code should be passed so that based on these attributes,corresponding attribute values for itemFood can be entered in the itemFood table.
    How can I achieve this in ADF? Is there an alternative way where instead of clicking the 'CreateInsert' button, attributeids cn be passed from itemCategory to itemFood?
    Any help in this case is highly appreciated.
    Thanks & Regards,
    Chaya

    Is it possible to pass multiple values for same attribute from one table to another using viewlink?
    eg. If there are 2 tables- FoodAttributes which contains the type of food and the attributes associated with it.
    say,Type -Vegetable, Non-veg, Fruits then for vegetables,attributes can be weight,leafy,etc.
    Another table is FoodTable where we have food specific attribute which contains name of food ,attributes associated with it and the values for those attributes, like cabbage is name, attributes associated with it are leafy,weight and in values we specify leafy as yes and its weight in kg. So I need to pass the attribute names from 1st table to 2nd table. Please suggest a way to do this.

  • Pass data to JSP from HTML?

    I can pass the data in a HTML form without problem if the form is in the same jsp file. I have no problem to pass data from one jsp file to another one. But when the jsp file has to take the data passed from calling HTML file and has to receive the data from the same jsp file, then the data from other HTML file will be null the first time runing the code, then second time will be passed right. If I shut down computer run the code again, same problem until the second time. Please tell me why if any of you know!

    yes. The first part is HTML file which use the form to pass v_progname, the second part is a jsp file, it suppose to get the data in v_prgname, but the first time to run this code always get null, then the second time get the right data?
    <html> <head> <title>CTI</title>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> </head>
    <body bgcolor="#FFFFFF"> <form name="theForm" enctype="text/html" method="post"
    action="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/jsps/uploadfilehome.jsp">
    <table border="1" cellspacing="0" cellpadding="4">
    <tr> <td bgcolor="#FFFFEE"><font face="Arial, Helvetica,sans-serif" size="2"> Communication racking Item </font></td> <td colspan="5"><font face="Arial, Helvetica, sans-serif"size="2">SATMEX-6-2 </td>
    <input type="hidden" name="v_sidname"value="/expctl/dev//comm_tracking.edit_document">
    <input type="hidden" name="v_schema"value="migra2">
    <input type="hidden" name="v_cti_number"value="SATMEX-6-2">
    <input type="hidden" name="v_progname"value="satmex-8">
    <input type="hidden" name="v_doc_id"value="5131"> </tr> </table><br>
    <input type="submit" value="Upload Document">     
    <input type="reset" value="Reset"></form></body></html>
    uploadfilehome.jsp as following:
    <html><head>
    <%
    String v_program=request.getParameter("v_progname");//this is the parameter passed from html file, //with a problem?
    WebUILogin login = WebUILogin.getWebUILogin( request );
    String step = WebUIUtils.getUTF8Parameter(request,"step");
    //String path=WebUIUtils.getUTF8Parameter(request,"path");
    String path="/home/scott/satmex-6";
    String windowID=WebUIUtils.getNewWindowID();
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    var path="<%=path%>";
    var jsWindowID="<%=windowID%>";
    </script>
    <%
    if ( null == step )
    step = "get";
    %>
    <SCRIPT LANGUAGE="JavaScript">
    function AutoLogin() {
    document.loginform.userName.value == "scott";
    document.loginform.passWord.value == "tiger";
    document.loginform.submit();
    function PkeyPress(event)
    if (document.layers)
    if (event.which==13)
    document.loginform.submit();
    else {
    if (window.event.keyCode==13)
    document.loginform.submit();
    </SCRIPT>
    <%
    if ( step.equals("try") )
    login.processRequest(request);
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    window.location='../jsps/uploadhome.jsp?path='+path+'&windowID='+jsWindowID;
    </script>
    <%
    // check to see if we have already logged in before...
    if ( null != login.getSession() )
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    window.location='../jsps/uploadhome.jsp?path='+path+'&windowID='+jsWindowID;
    </script>
    <%
    else
    %>
    <title><%=login.getJspResourceString(JspResourcesID.LOGIN_TITLE)%></title>
    </head>
    <body bgcolor="#FFFFFF" onLoad="AutoLogin();" onResize="return false;">
    <form METHOD=POST NAME="loginform" ACTION="uploadfilehome.jsp">
    <INPUT TYPE="hidden" NAME="userName" VALUE="scott">
    <INPUT TYPE="hidden" NAME="passWord" VALUE="tiger" onKeyPress="PkeyPress(event);">
    <INPUT TYPE="hidden" NAME="step" VALUE="try">
    <INPUT TYPE="hidden" NAME="action" VALUE="Login">
    </form>
    </body>
    </html>
    <%
    %>

  • Pass a shared variable from a sub-report into cross-tab

    Hello everyone!
    I need to pass a calculated value in a shared variable from a sub-report into a croos-tab in the Group footer of the main report. When I place this variable in the group footer I can see the value, when I use this variable in the Cross-tab, it is 0.
    In the Sub Report:
    whileprintingrecords;
    shared numberVar Total_SF;
    Total_SF:= calculation.
    In the Main report:
    whileprintingrecords;
    shared numberVar Total_SF;
    In the Cross-Tab I am using the above formula from the main report.
    Do you guys know what I need to do for this to work?
    Thank you,
    T.

    Hey Tat,
    I have learned to avoid passing shared variable from sub reports back to main reports.  You just always seem to run into issues with execution order.
    Personally, I try to create a shell report and add sub reports, calculating the values I need in the first sub report and pass the values to subsequent sub reports using shared variables.  I'd recommend thinking about arranging your reports like this during your design time.  It has saved me some headaches.

  • HT204406 Does iTunes match have to look for all music on my computer and send that data to and from Apple every time I open iTunes? This frequently makes iTunes crash before I even get to listen to one song. Installing the latest version of iTunes does no

    Does iTunes have to check all my music for match every time I open iTunes even when nothing has changed in the music folder?  This is just one problem I have with iTunes and match.  Every time I open iTunes, the first thing happening is iTunes checking my music and sending the information to Apple and then waiting for Apple to send back information about match. There is a third step that I have never seen iTunes actually reach as it always crashes before finishing this ritual with my music and match.  Since I paid for match I can no longer use iTunes to listen to any of my music. I like having match function on my iPhone because even 128 GB is not enough space to keep a music library and everything else needed on the iPhone.  But it's been a disaster with iTunes on my Windows 7 PC. I updated iTunes recently and the same problem continues.  I can't find any clear description of how match works but it seems if there has been no change to the music folder then the tedious and buggy process of checking all music for match and sending data back and forth to Apple every time iTunes is used should not be necessary.  Is there possibly something I have to change settings for to help iTunes start without so much to do?

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Can retrieve users from some sub OUs and from other sub OUs cann't

    hi,
    I am using Windows 2003 Active Directory Server and Jndi to access that in my application. I am using follwing code to retrieve all Users from a aprticular OU.
    ctx = new InitialDirContext(environment);
    SearchControls ctls = new SearchControls();
    ctls.setSearchScope(2);
    String attrs[] = {
    "sn", "givenName", "userPrincipalName"
    ctls.setReturningAttributes(attrs);
    String filter = "(&(objectClass=*))";
    String serachCriteria[] = {"User Container", "Admin Leads,OU=Administration,OU=User Container"};
    for(int i = 0; i < serachCriteria.length; i++)
    StringBuffer searchString = new StringBuffer("OU=");
    searchString.append(serachCriteria);
    searchString.append(",DC=india,DC=mycompany,DC=com");
    for(NamingEnumeration answer = ctx.search(searchString.toString(), filter, ctls); answer.hasMoreElements();)
    SearchResult searchResult = (SearchResult)answer.next();
    ....................and so on
    as can be observed in the bold text above, I have to specify the path of sub OU to retrieve users under that. Whereas apart from this sub OU, it is retrieving users from others sub OUs. The problem is, the code can access users from some OUs but not from other sub OUs
    Can anybody help?
    regards,
    Zaid

    Active Directory has a very rich access control model.
    Perhaps it may not have occurred to you, that you do not have list access rights to the child3 & child9 organizational units ?
    You may have access rights to all the leaf objects contained in child3 & child9, which explains why you can retrieve all the leaf objects when you explicitly bind to them, however you may not have list access rights to child3 & child9 which explains why you can't bind to it when iterating through parent1.
    What happens if you simply perform a one level search on parent1, using a filter (objectClass=organizationalUnit) ?
    If it doesn't retrieve child3 & child9, then perhaps you do not have list access rights for those two ou's.

  • Data usage and battery drain has skyrocketed with iOS 8.1.2 (maybe earlier)

    3 weeks ago my wife got a text message on her iPhone 5 from AT&T that she had used 90% of her data for the month.  30 seconds later, she got another one saying that she had used 100%.  Granted, her data plan is small, 200 MB.  But, for the last two years she has used as little as 17 MB in a month and her largest prior to this latest month was 49 mb.  This month she got to 380 mb before we were able to shut off her cell data.  Otherwise, a second chunk of 200 MB and another $15 would have been added to the month.
    We had noticed that her battery had been draining rather rapidly in standby mode with no background apps running when she didn't have access to WiFi.  We have now correlated the two results, High Cell data usage, Quick battery drain and very warm phone.  In case anyone is wondering about her iPhone 5 being one in the recall, it is.  I took it in and had it tested.  Apple says the battery is fine.  It does hold a charge well.  When all network communications are shut down on her phone and it is in standby mode, there is no noticeable loss of charge in 24 hours (our longest test).
    Since I have a grandfathered Unlimited Data Plan with AT&T, I have been doing some testing on my iPhone 5s.  Sure enough, I've seen similar results.  With nearly everything turned off except Cell Data, I've seen 483 MB used in 24 hours.  Of that total, 479 MB was used for Documents & Sync.  I even have everything turned off in my iCloud account, Location services are turned off, no push notifications etc...
    The best I can figure, this has been a problem since we installed 8.1.2 and yesterday I installed 8.1.3 resulting in no positive effect on this issue.
    At this rate of data usage and no access to WiFi, my wife would have to have a 15 Gb data plan to keep from exceeding her limit.  I don't think AT&T even offers one that big anymore.  I might have to switch to Sprint or T-Mobile if this doesn't get resolved.
    Any ideas would be greatly appreciated.  Thanks in advance for your shared insights.

    Hey this is Brian, bjmcmurry, under a different user ID.  If I logged in as bmcmurry, original post, I was just getting a server error and couldn't get to this discussion nor post a comment anywhere.
    Anyway, let me be as brief as I can.  After an extensive analysis of replicating the problem on another phone to eliminate it being a hardware specific issue and that the test phone has an unlimited data plan, I was able to stop the excessive data usage and consequential battery drain.  I believe I have a reasonable explanation of the problem, an iOS logic bug.
    I had everything under my control clamped down on the test phone to minimize data usage.  Also, I was forcing all data usage to use the cell towers.  I determined that I was burning at least 11 to 13 Mb per hour doing nothing important.  I literally had everything turned off except 'Settings' was allowed to use Cell data providing a avenue to log into the Apple ID. 
    The two phones had 2 things in common, they were using the same Apple ID and the same version of the OS.  One was a iPhone 5 and the other was a 5s.
    Here is a synopsis of my experience via my written evaluation of the Apple support system (Apple Rep name's have been removed):
    After a couple of hours on the phone with an Apple Care Senior support Analyst, it was suggested that I go to the Apple Store to 1) get my battery replace in the iPhone 5 since it qualified for the replacement program and 2) see if the Genius could provide me with any insight in the data usage issue and battery drain.
    I'm certainly glad I had multiple reasons to visit the closest Apple store, a 45 min drive.  I got the battery replaced, thanks for that. 
    Regarding the important issue to me that brought me to the Genius Bar, excessive Cell data usage, I thought the Genius did a wonderful job listening and documenting the problem we were experiencing.  Unfortunately, educating us on the use of the product or replacing our phone was not going to solve the problem.  He eventually figured it out, this was not a user error or broken hardware.  We surmised that the reason I was sent to him was to verify and document that there was a problem.  I clearly had a problem.  After writing copious notes on the issue, The Genius smartly referred me back the the AppleCare Senior Advisor.  So, back to AppleCare Senior Analyst I went. She, knowing this was not a simple problem to solve i.e. beyond her level of expertise, got an Apple Software engineer involved.
    My primary frustration is that this should have been escalated to software engineering right away.  My trip to see the Genius was, I believe, a waste of time for both me and Apple regarding this issue.  Diagnosis of this type of problem is well beyond the Genius’ knowledge and job.  The Genius did a very good job doing what he could within the scope of his job.  He just couldn’t solve this problem and had no one within Apple to which he had access for help.
    However, that initial consult with the engineer was a bit feeble.  Not only could I not talk to him/her directly, his/her focus was still working with the ‘Black Box' approach.  Having Analyst ask me to do stuff like restore the Phone was more like trying to find a 'work around' than 'identifying the real problem.'  Maybe restoring the phone was going to fix some corrupted data on the phone sidesteping the real problem, the handling of this condition.  The engineer did listen to the fact that I had restored the test phone, the 5s, and only added the use of my Apple ID.  Duh, been there!!!
    Having been an previous owner of a software development company that I started in 1980 and retired in 2001, I can tell you that using the 'Black Box' method of debugging is extremely inefficient.  Instead, having access to an ‘Activity Manager’ type app to identify in real time what process was blowing up the data flow would have saved me a lost afternoon at the Apple store and hours on the phone with tech support.
    Ironically, I may have stumbled onto a "work around" solution short of turning off Cell Data that stopped the excessive Cell Data usage and consequential battery drain.  Just prior to leaving the Apple Store, I used one of their Macs to log in my Apple ID on the id.apple.com website to ‘Manage my Apple ID’, I was forced to upgrade the security level of my password.  Afterward, my cell data usage seemed to drop dramatically.
    I told the AppleCare Senior Analyst that I may have stumbled onto a workaround and I suggested that I give it a couple of days of monitoring.  We'd talk then and I would have results to report.  She agreed. 
    Sure enough, my Document & Sync usage was back to normal, about 1/2 Mb per day.  Am I happy that the excessive Cell Data usage has stopped?  You bet!  But, there was no intuitive reason that an end user would know to log in on the ID website to unknowingly solve this problem.  As I use to say to my employees, that is not the ‘Macintosh Way.’  And, rebooting the the 'Microsoft Way.'
    When I reported my findings to the Analyst, we both concluded that data usage was back to normal.  She did report to me that the engineer did provide a laundry list of suggested activities to help solve the problem.  Remarkably, they were everything that I had already done and were pretty much what the Analyst and the Genius tried to do.  All reasonable tasks.  But clearly, the engineer hadn't even ready the notes on the case before responding.  And, none of the things suggested would have uncovered the real problem, likely a logic bug in iOS.
    My advice now is to have the software engineering team rule out that there was an unresolvable state that a background process was fiercely trying to handle.  The iOS does not seem to know how to intervene and prompt the user with a requirement to upgrade their password.  If this does end up being the case, I would call it a logic bug, a perpetual exception that is not being handled properly.
    Anyway, I hope this helps you.

  • How do I select a date column and display the millesecond along with it.

    I am trying to select a date column from database and want to
    display millesecond with it. How do I do this. I am aware of
    the "alter session set NLS_DATE_FORMAT = 'MM/DD/YY HH:MI:SS'"
    command. However, I do not know how to display this with the
    millesecond.
    Thanks for all the help.

    Example:
    SQL> CREATE OR REPLACE JAVA SOURCE
      2  NAMED "MyTimestamp"
      3  AS
      4  import java.lang.String;
      5  import java.sql.Timestamp;
      6 
      7  public class MyTimestamp
      8  {
      9  public static String getTimestamp()
    10   {
    11   return (new
    12   Timestamp(System.currentTimeMillis())).toString();
    13   }
    14   };
    15  /
    Java created.
    SQL> CREATE OR REPLACE FUNCTION my_timestamp
      2    RETURN VARCHAR2
      3  AS LANGUAGE JAVA
      4  NAME 'MyTimestamp.getTimestamp() return java.lang.String';
      5  /
    Function created.
    SQL> CREATE TABLE test_time
      2    (date_col VARCHAR2 (23))
      3  /
    Table created.
    SQL> INSERT INTO test_time (date_col)
      2  SELECT my_timestamp
      3  FROM   dual
      4  /
    1 row created.
    SQL> SELECT date_col
      2  FROM   test_time
      3  /
    DATE_COL
    2001-11-02 14:58:51.766

  • How do you send an email from a sub account with mail app.

    We have about four sub-accounts with .mac all tied in with our sign in name. Is it possible to compose an email from the other email addresses with the iphone.

    you have to set it up with Mail on the home computer. I forget how many aliases you are allowed to have.
    To set up an alias:
    Choose Mail > Preferences, and then click Accounts.
    Select your MobileMe email account and click Account Information.
    Click Edit Email Aliases, and sign in to MobileMe to create email aliases.

  • Best way to pass data back and forth from multiple NativeProcess threads

    Hi all,
    We have an application that requires multiple concurrent accesses to mulitple instances of a java NativeProcess. The input and output is XML data. I can see how to shunt this back and forth with only a single listening thread on stdout, but with multiple threads the whole thing is going to get rather jumbled. At the moment we are looking at using temporary files to read and write data from each instance, but I wonder if there might be a better way ... any suggestions?
    Thanks.

    I may not be completely understanding your issue...however you should be able to check which NativeProcess instance is giving you stdin/stdout/stderror data by checking the target member of the ProgressEvent. If that is not helpful, could you please provide some additional information about what you are trying to do, and what trouble you are running in to?
    Thanks,
    Chris Thilgen
    AIR Engineering

Maybe you are looking for