Is datasocket messaging between a network of small applications feasible?

I want to create a number of self contained applications (exe's) that can be strung together to form a complete test solution. The exe's need to pass messages to one another in <To<From<data> format and I'd like to use datasocket as it's a  very simple interface. When To: = 'All' then the message is a broadcast to all exe's. I'm using Labview 7.1 and Windows XP. The exe's could be located on one or more machines.
Am I likely to be successful with the following?:-
1. A datasocket variable is created called 'message bus'
2. Any exe can send a message to 'message bus'
3. All exe's monitor 'message bus' for fresh data and act on it if it's addressed to themselves
My concerns are: -
1. What if two or more exe's send messages 'simultaneously'? Do some messages get lost?
2. How to ensure messages are received by all exe's?
What exe behaviour and datasocket setup might achieve the above? I'm just an EMC test manager not a programmer by trade so a bit stumped.
Best regards, Bob Edwards

Hi DanielHenry -
I'll try to deal with your issues as best I can. I'm a designer too using CS3 applications the same as yourself, so have come across similar issues.
Firstly, the display. There are many negative posts about the display on the 20inch iMac if you search these forums. The problem is that the display Apple have used has a much poorer viewing angle, hence the colour shifts you're seeing. I have a 24inch iMac at home and a 20inch iMac at work. The 24inch screen is far superior and great for graphics work. There really isn't anything you can do about the 20inch screen apart from plug in a second monitor or upgrade to a 24inch iMac.
Secondly, I think all of the rest of your problems may be down to the 1GB of RAM you have. If you're using CS3, Quark etc then you'll have speed issues with only 1GB RAM. And that includes your Finder slowing down too. If you can, I'd recommend you buy a 4GB RAM upgrade kit from someone like Crucial [here|http://www.crucial.com/uk/index.aspx?cpe=CHAWKuk]. They are cheap and very easy to install. Just unscrew one screw, pop out the old RAM, put in the new RAM and screw the one screw back in. Easy. The instructions are [here|http://support.apple.com/kb/HT1760].
I hope this helps.

Similar Messages

  • Pass messages between main thread and FX application thread

    I'm launching an FX Application thread from a Main thread using Application.launch [outlined here: {thread:id=2530636}]
    I'm trying to have the Aplication thread return information to the Main thread, but Application.launch returns void. Is there an easy way to communicate between the Main thread and the Application thread?
    So far I have googled and found:
    - MOM (Message Orientated Middleware)
    - Sockets
    Any thoughts/ideas/examples are appreciated - especially examples ;) - right now I am looking at using Sockets to show/hide the application and for passing data.
    What is the preferred method? Are there others which I have not found (gasp) via Google?
    Dave.
    Edited by: cr0ck3t on 30-Apr-2013 21:04
    Edited by: cr0ck3t on 30-Apr-2013 21:05

    Is there an easy way to get a reference to these objects from both the Main thread and the FX Application thread - called via Application.launch() from the Main thread? Or do I have to use Sockets or MOM?Not much to do with concurrent programming is what I would call easy. It seems easy - but it's not.
    You can kind of do what you are describing using Java concurrency constructs without using sockets or some Message Oriented Middleware (MOM) package.
    With the Java concurrency stuff you are really implementing your own form or lightweight MOM.
    If you have quite a complex application with lots of messages going back and forth then some kind of MOM package such as camel or ActiveMQ (http://camel.apache.org) is useful.
    You can find a sample of various thread interactions with JavaFX here:
    https://gist.github.com/jewelsea/5500981 "Simulation of dragons eating dwarves using multiple threads"
    Linked code is just demo-ware to try out different concurrency facilities and not necessarily a recommended strategy.
    If your curious, you could take a look at it and try to work out what it is, what it does and how it does it.
    The main pattern followed is that from a blocking queue:
    http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/BlockingQueue.html
    Note that once you call launch from the main thread, no subsequent statements in the main method will be run until the JavaFX application shuts down. So you can't really launch from the main thread and communicate with a JavaFX app from the main thread. Instead you need to spawn another thread (or set of threads) for communication with the JavaFX app.
    But really, in most cases, the best solution with concurrency is not to deal with it at all (or at least as little as possible). Write everything in JavaFX, use the JavaFX animation framework for timing related stuff and use the JavaFX concurrency utilities for times when you really need multiple thread interaction.
    http://docs.oracle.com/javafx/2/threads/jfxpub-threads.htm
    To get further help, you might be better off describing exactly (i.e. really specific) what you are trying to do in a new question, perhaps with a sample solution in an sscce http://sscce.org

  • Is there a method or app to quickly switch between staff networks in the same building?

    We have a pretty standard network at my job, we have 5 staff networks, Staff A, Staff B, etc. Obviously some networks work better in different parts of the building, but I find that my macbook air tends to hold onto a weaker network and I have click on the wifi icon in the menu bar, wait for it to look for networks then click on the appropiate network. I was just wondering if anyone knew of a method or an app that makes it a little quicker for me to switch between these network. Maybe something similar to having network locations set. Thanks in advance.

    You might almost achieve your goal simply by requiring password on wake from sleep. the password prompt will have an option there to switch users.
    If you truly want to make it automatic,
    it's possible but a bit tricky.
    first download and install [Apple fast user switching applet|http://www.apple.com/applescript/accountswitcher/index.html]. install it on account of user 2 and set it up to switch to user 1 when you run it. call it, say, userswitcher.app and save it for example in user2 documents folder.
    next, copy and paste the following into text editor. format it as plain text and save it as userswitcher.sh in Documents folder as well.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    #!/bin/bash
    idl=$"`ioreg -c IOHIDSystem | awk '/HIDIdleTime/ {print int($NF/1000000000); exit}'`"
    wt=$3600
    if [ $idl -gt $wt ]; then
    open /users/$USER/documents/userswitcher.app
    fi</pre>
    in the above wt is the wait time before switching and it's currently set to 3600 seconds (1 hour). adjust that as needed.
    next make the script unix executable by running the following terminal command
    chmod 755 ~/Documents/userswitcher.sh
    Finally, download and install [Lingon|http://tuppis.com/lingon> and make a launch daemon to run the above script every minute.
    Message was edited by: V.K.

  • MSOutlook HTML newsletter issues - large gaps between large images and small gaps...

    Please can you help me!
    Searched the web & found plently of advice but still getting formatting display issue when viewing HTML newsletter in MS Outlook.
    Fully aware on the basics regarding the multiple issues when creating HTML newsletters but this is driving me crazy.
    Apparently there is a image height limit within Outlook (can't find out what this is) so I have sliced my larger images into 5/6 parts which solves the display issue in Outlook.
    But the gaps between the slices are now being displayed as small blank spaces within Hotmail.
    I did use <br> between each slice as without caused the fixed 600px wide containing table to expand due to the slices stacking hoz.
    Also still getting small gaps (like <br> spaces) between all images in Outlook when displaying perfectly (no gaps) in a browser.
    This is my newsletter displaying correctly via a browser:
    http://eu.shorts.tv/site-admin/modules/mod_mail/SHORTSTV_DECEMBER_2012.htm
    Using Dreamweaver 4 (do have the latest version via Adobe Creative Cloud Membership but not on this system).
    Hope you can help
    Many thanks

    Many thanks David
    I also found this article which is currently sitting on my desk.
    Pdf would make perfect sense or even a url link to view via a browser but these guys need it contained within the email.
    Thanks again for your kind advice.
    Regards
    ShortsTV
    Date: Fri, 30 Nov 2012 18:05:08 -0700
    From: [email protected]
    To: [email protected]
    Subject: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
        Re: MSOutlook HTML newsletter issues - large gaps between large images and small gaps...
        created by David__B in Adobe Creative Cloud - View the full discussion
    Hey Shortstv, Not something I know much about, searched and found thishttp://robcubbon.com/create-html-email-newsletters-outlook/ Maybe create it as a PDF attachment instead? -Dave
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4888255#4888255
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4888255#4888255
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4888255#4888255. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Sending messages between clients

    hi,
    I want to make small instant messenger,like yahoo.I have made a server which accept connection from different client & send online user list to each and every client connected to the server.
    But now i have to send messages between the clients(chatting).
    This can be do either through server or allow server establishing connection betwwen two client & allow them to continue chatting session.But i am not able to figure out how i do either of the things using socket programming.
    Please help me ,to establish chatting session between the clients.
    Thank you for replies
    alok

    Yes, It should be Non public to Other client but not to server.
    Suppose client1 want to send message to client2 then it send message to server,then server passes this message to client2.
    Now as client2 got the it send some reply to client1 which
    is also reach to client1 through server.But I have problem ,as how
    does client2 knows to which client he has send message as no of clients are connected to the server & more then one client has send message to client2.
    Basically I have problem in sending reply to a message send by the different client connected to the server.
    Thank You for reply

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • Cannot delete itunes from pc,message states. a network error occurred while attempting to read from the file C:\windows\installer\itunes.msi

    ITUNES WILL NOT DELETE FROM ADD @ REMOVE PROGRAMS,
    MESSAGE, READS  a network error occured while attempting to read from the file  C:WINDOWS\installer\iTunes.msi

    All sorted now just needed to repair itunes from control panel

  • I can not dowload the new updated software for my Ipod touch 4G. When i do I get an error message that says Network connection has timed out. I have done the trouble shooting steps. Downloaded the latest version of Itunes, and checked network connection

    I can not dowload the new updated software for my Ipod touch 4G. When i do I get an error message that says Network connection has timed out. I have done the trouble shooting steps. Downloaded the latest version of Itunes, and checked network connection

    Disabling the computer's antivirus and firewall during the download and update usually resolves the timeout error.

  • I am trying to download itunes and keep getting an error message cannot access network location %appdata%

    I am trying to download itunes to windows 7 and keep getting the error message "cannot access network location $APPDATA%\." I have contacted an Apple advisor and was not able to resolve the problem. What to do?

    Since this a problem pertaining to the iTunes application, you might have better luck posting this in the iTunes forum.
    https://discussions.apple.com/community/itunes
    B-rock

  • TS1424 What do you do when you get an error message that says "Network connection has been reset"?

    I tried to purchase a song through iTunes just now, and received the above error message about the network connection being reset. I also can't download to iTunes several Apps that have been purchased on my iPad and iPhone. I am using a PC with Windows 7.  Thoughts?  Thank you.

    Disabling the computer's antivirus and firewall during the download and update usually resolves the timeout error.

  • I am getting an error message that my network connection has timed out. while trying to update my iPhone on iTunes. Has anyone found a solution? I was given some advice about turning off my firewall and/or virus protection but am nervous about doing that.

    I get a message that my network connection has timed out while trying to update my iPhone on iTunes. Has anyone else had that problem and if so what solutions have you found? I was told to turn off my firewall and/or virus protection while updating but am nervous about doing that for obvious reasons. I'm also disgusted with Apple not providing free tech support.

    See this article about the ports that have to be open during the update process. iTunes has to contact Apple during the download. iTunes for Windows: Troubleshooting security software issues

  • Error message when opening Network panel

    On bootup, my iMac 800mHz (gooseneck) 17" flat panel (OS 10.4.11) is not automatically logging into my home AE network. So, I go to System Preferences and open the Network panel. Immediately, a drop-down error window appears saying "Your network settings have been changed by another application." I click the blue "OK" button on that error window, but it WON'T GO AWAY. I must Force Quit System Prefs in order to regain use of this machine.
    I can and do go to the Airport icon in the Menu Bar and select our network, and I am on the network. I can also select "Open Internet Connect" from this same Menu Bar icon, and it does not give me an error message.
    Using Disk Utility, I have verified and repaired permissions. I also zapped the PRAM on restart. The problem persists.
    After connecting online, this iMac seems to run nominally. However, the persistent error message in the Network panel is not a good sign.
    Suggestions? Are there some Library preferences I should remove, etc?

    To stop the pop-up, Go to System Preferences: Security. Check the box next to "Require password to unlock each secure system preference." Then lock Security.
    Try this cure for Security update...
    http://discussions.apple.com/thread.jspa?threadID=1730909&tstart=0
    The locations are actually...
    /Library/Preferences/SystemConfiguration/preferences.plist
    /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
    /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    /Library/Preferences/SystemConfiguration/com.apple.nat.plist

  • I am having trouble downloading an iTunes movie.  It repeatedly quits and gives me an error message that my network connection was reset.  Any suggestions?

    I am having trouble downloading an iTunes movie.  It repeatedly quits and gives me an error message that my network connection was reset.  Any suggestions?

    Hello sudsy71,
    The article linked below provides some useful troubleshooting steps that can help resolve this error.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • When trying to download the new iPhone version, I keep getting an error message that my network connection has timed out.  Any ideas how to fix this?

    When trying to download the new iPhone version, I keep getting an error message that my network connection has timed out.  Any ideas how to fix this?

    This is asked and answered many time each day.  The forum search bar is on the right side of this page.
    Disable your firewall/security software and try again.

  • Linking between Activity network with Billing Document

    Hi Gurus,
        I have a requirement that I need to link between Activity, network with Billing Document number. By standard we can link only WBS-Element and Billing Document Number. How can I link between Activity, Network with Billing Doc. I want to develope a report for this.
    Kindly help me regarding this. I need some clue regarding this.
    Thanks,
    Ravi

    revenue can only be posed to WBS
    networks are meant for cost capture and scheduling
    so as per std sap what you want is not possible

Maybe you are looking for

  • Is adobe photoshop cs5 compatible with MAC OS 10.7.2

    I need to update my CS3 version of PhotoShop which has been completely incapacitated by the recent update to Lion. The spinning rainbow of death.  But before I purchase CS5 I need to know that it actually works under Lion? Thx for any advice. Barb

  • XML-22009: (Error) Attribute 'select' not found in 'xsl:value-of'

    Hello, I'm a long-time Siebel developer but novice to BIP, trying to enhance some complex rtf templates that an experienced xdo/bip developer (contractor) designed for us in the past, with a couple of new fields that have been added to the integratio

  • Page orientation in Numbers

    How do you set the page orientation in Numbers?  I can't seem to find this selection anywhere.  Please advise ASAP.  Thank you.

  • How to Handle RFC delivery exception (rfcClientException) in XI?

    I have a following scenario. I have an outbound soap interface (sender) and inbound RFC(receiver). When the soap message is posted it goes to receiver where it has to execute the RFC. It tries to convert the XML to RFC and throws the following except

  • Error in Quantity/Value Determination  : VPRS (IV)

    Gurus, When I am creating an IV (Intercompany Invoice), I am getting an error in VPRS determination in pricing. VPRS is not getting determined and it throws up an error saying "Error in Quantity/Value determination" (Error number 217) Need you help o