Communicating between two Computer via USB

Hello,
I want to connect two PCs to synchronize two different LabView VIs running on these Computers.
The perfect way would be, that the VI on PC 1 sends boolean Value to the VI on PC 2, where this value is read out and can start some process.
My Problem is that I do not have a 'normal' network and all serial Ports (but not USB) are occupied.
I would appreciate any advice or suggestion.
One of my ideas is going in the direction of an USB to 9pin serial Adapter plus a null modem adapter/cable. But I have no Idea if this would work.

I would suggest USB-Ethernet adapters and an Ethernet cross-over
cable.
The communications between computers will be faster, and you can
use your software across a larger network later on without
modifications (just change IP addresses).  Your communications will be
message based rather than character based, so you won't have to
constantly poll the RS232 port for characters.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Similar Messages

  • How can I communicat​e between two computer via RS 232 port?

    I would like to communicate between two computer in order to servo a motor motion to an acquisition.
    Thank you in advance for your answer an your solutions

    PreScript: I did not rate the above answer!
    Here's a VI I use to test my instruments - if you have it running on both PCs, you should be able to communicate (with the help of a Null modem between them - cross Rx and Tx) - hopefully this will get you started.
    cheers,
    Christopher
    Christopher G. Relf
    Certified LabVIEW Developer
    [email protected]
    International Voicemail & Fax: +61 2 8080 8132
    Australian Voicemail & Fax: (02) 8080 8132
    EULA
    1) This is a private email, and although the views expressed within it may not be purely my own, unless specifically referenced I do not suggest they are necessarily associated with anyone else including, but not limited to, my employer(s).
    2) This email has NOT been scanned for virii - atta
    ched file(s), if any, are provided as is. By copying, detaching and/or opening attached files, you agree to indemnify the sender of such responsibility.
    3) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
    Attachments:
    Test_RS-232_Serial_Communications.vi ‏118 KB

  • I want to create serial communicatios between two notebooks via Bluetooth

    Hi,
    I'm trying to accomplish serial communications between two laptops via a Bluetooth connection.
    The two laptops are NOT Toshiba notebook, but they are both running the Toshiba Bluetooth Stack For Windows. They are also both using the default Bluetooth Manager program that is supplied by Toshiba and Dell (just rebadged?).
    Basically I can set up a connection no problems, but then I send serial data from one computer and watch the receiving serial port on the other computer but nothing ever arrives.
    Are there any good tutorials for this? It would be nice to have something for the Toshiba Bluetooth Manager in particular as the windows and buttons will have the names as explained in the tutorial.
    Thanks in advance.
    Adam

    I tried it for tests purpose via a hyperterminal connection and it worked.
    Maybe the description contains also some helpful information for you.
    Here is it:
    PC1:
    Start "Bluetooth Settings->Custom Mode->Select Remote PC->Select 'Serial Port'->Accept proposed COM port (in my case COM40)->Confirm wizard windows
    until setup is finished".
    PC2:
    Start "HyperTerminal->Select COM7"
    PC1:
    Start "HyperTerminal->Select COM40 (in my case. See step 1 above)"
    PC1, PC2:
    Enter the same Passkey if security is turned on e.g. "0000"
    PC1:
    Everything what you type into HyperTerminal should be visible in HyperTerminal of PC2 and vice versa.

  • Using 1394 to perform communication between two PCs

    Hi all,
    Does anybody knows how to use a 1394 (firewire) to implement a communication between two computers using Labview ?
    Do I need a special toolkit for this ?
    Thanks
    Eduardo

    Currently, if you have installed NI-VISA, you should have the 1394 Passport already installed and running. This gives you the ability to communicate with 1394 instruments via your 1394 instruments. This is important because this helps determine how you will communicate from one computer to another. If you want to use the VISA and communicate using the FireWire INSTR, then you need to find or create drivers for your 1394 ports that allow you to communicate with them as 1394 instruments. There might be other ways to do this, but this is probably the most simple. Once you've got the pcs set up, you can just use VISA to communicate with your other devices.
    Logan S.

  • Communication between two Macs Server

    Communication between two Macs Server:
    Can they work together and communicate and interact normally in a PowerMac network, OS X 10.5.8 Server installed, and a MacPro computer that is running Server 4.0.3 on Yosemite? Had to do some additional implementation?
    Regards

    from the JavaDocs:
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html
    getContext
    public ServletContext getContext(java.lang.String uripath)
    Returns a ServletContext object that corresponds to a specified URL on the server.
    This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must be begin with "/", is interpreted relative to the server's document root and is matched against the context roots of other web applications hosted on this container.
    In a security conscious environment, the servlet container may return null for a given URL.
    Parameters:
    uripath - a String specifying the context path of another web application in the container.
    Returns:
    the ServletContext object that corresponds to the named URL, or null if either none exists or the container wishes to restrict this access.
    See Also:
    RequestDispatcher

  • Communicating between two machine

    hi all
    how in oracle i can communicate between two machine via ip address.
    my oracle version is--->
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    Message was edited by:
    bp

    Hi,
    If you mean communicating between two database, you can create DATABASE LINK.
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_5005.htm
    Thanks

  • TS2776 iPhone 5, Outlook 2013, Windows 7.0 64-bit.  Every time I connect my phone to my computer via USB, iTunes opens with the "accept our terms and service" then deselects the boxes checked under the INFO tab to sync my calendars, contacts...help?

    I am connecting my iPhone 5 to my Windows computer via USB.  This should open iTunes and start the sync process.  Instead of iTunes opening, I get the iTunes service agreement to which I must agree.  Then iTunes opens and begins to back up my phone.  It is syncing my photos and music (although the music thing is another nightmare), but under the "info" tab in iTunes, the boxes of which functions I want to sync are no longer selected.  Hence the computer and the phone are not sharing information.  When I select the functions I want to sync, I must either replace or merge.  If I replace, I lose the information I recently put into my phone.  If I choose to merge, then I have duplicates of everything.
    How can I resolve this problem? Why is iTunes acting like it doesn't know my phone?
    I'm using an iPhone 5 iOS 6.1.4, Windows 7 64-bit, Outlook 13, and the must current version of iTunes (because I've removed and reinstalled it twice already).
    Thanks for any help!
    Christine

    After you'd run the Configure Classic instance did you run in the statement as stated in 'Oracle® Fusion Middleware Installation Guide for Oracle Portal, Forms, Reports and Discoverer 11g Release 1 (11.1.1) Part Number E10421-05'?
    java -classpath ORACLE_HOME_DIR\discoverer\lib\disco-config.jar;ORACLE_HOME_DIR\oui\jlib\OraInstaller.jar;ORACLE_HOME_DIR\opmn\lib\iasprovision.jar -Djava.library.path=ORACLE_HOME_DIR\oui\lib\win32 oracle.disco.install.config.DiscoUtil -oraclehome ORACLE_HOME_DIR -tnsadmin TNS_ADMIN_DIR
    I've completed an installation with the same steps (although I ran the config.bat file in as_1/bin rather than from the program files list and also I've the jrockit jdk installed)
    I've found that this fails with the error;
    INFO: This tool works only on Windows Platform. Exiting the program
    Which is strange considering this is Windows Server 2008 R2 64-bit
    DISCO is running in the EM console but the URLs (as defined in the installation summary report) do not resolve properly. I was just interested to hear if you're installation was the same, this isn't the first installation I've done, they've all had a similar issue

  • Communication between two clients

    In Java Networking, communication between server-client or bwtween server-multiple clients is general. But How will be the communication between two cients, means two clients can send & receive messages to & from each other(being guided by server).

    Sorry,
    I didn't get your reply clearly.
    I want, if Server is running, and two clients(two instance of a same program) are opened, whatever message(string)client1 send to Server,then the Server needs to send those to client2.Again, the some response should come from client2 to client1 thru Server.
    How can I implement this?
    If you have idea, or some sample code about this, please let me know.
    Regards.

  • Communication between two portlets - Java Portlet JSR168

    Communication between two portlets
    Hi All,
    i want to be question how do communication between two portlets. Exam:
    I have 2 portlets in a portal together: a Menu portlet & a Content portlet, now i want when i click to an link of portlet Menu then my Content portlet will get param from link that.
    i'm develop by Oracle Jdeveloper tool & OracleAS 10g.
    Thank a lot !

    Hello,
    I assume you are not using Weblogic Portal, correct? If you are using Weblogic Portal, you could use events to communicate between two JSR168 portlets, but this only works in Weblogic Portal.
    If you are not using Weblogic Portal, the only way to communicate between two JSR 168 portlets is to put an attribute in the session in one portlet, and retrieve it from the session in the other portlet. For example, to set a value in your Menu portlet, given a javax.portlet.PortletRequest variable "request", and an object you want to send to the content portlet in the variable "menuChoice":
    javax.portlet.PortletSession session = request.getPortletSession(true);
    session.setAttribute("menuChoice", menuChoice, javax.portlet.PortletSession.APPLICATION_SCOPE);
    Then, in your content portlet to retrieve the value of the menuChoice variable you would do this:
    javax.portlet.PortletSession session = request.getPortletSession(true);
    Object menuChoice = session.retAttribute("menuChoice", javax.portlet.PortletSession.APPLICATION_SCOPE);
    Kevin

  • Communication between the computer and the disc drive failed

    The disc can’t be burned because because communication between the computer and the disc drive failed (error code 0x80020022). This computer has been out of the box for less than a month and this has been a growing problem.

    My problem was FIXED at the apple store..... there was something wrong in the system preferences and the genius deleted something that recreated it's self. Surely enough we we're able to burn a 600 mb dmg of nothing onto a few test disks. For anyone having this issue...it's NOT The media, it's some configuration issue within the computer's preferences. I'm telling you all to take your machine to the nearest apple store and have them fix it, if your machine is still under warranty the fix is free. There was no hardware issue, so the optical drive was not replaced.

  • Communication between Two WebLogic instances on the same machine

    Hi,
    We're having a problem with communication between two copies of Weblogic on
    the same machine. They are configured with seperate ports (regular and SSL).
    Independantly, they run fine. I can access EJBs running on either of them.
    The problem is that a bean in one of them has code which attempts to access
    an EJB on the other one. The procude fails when trying to obtain the initial
    context. This same code works if compilied independantly of WebLogic on the
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

    Thanks for the prompt reply.
    There is one IP address (internal address 10.227.1.34) one the machine. WLS1
    is set up at ports 7001 and 5133. WLS2 is setup at ports 7004 and 7005.
    When WLS1 attempts to obtain a context to WLS2 with the URL
    t3://10.227.1.34:7004/ it pauses for a long period of time. Running truss
    on the both WLS processes shows communication occuring between the two
    followed by long periods of silence. Finally WLS2 spits out the error
    ConnectionException[7001,7001,5133,5133,7001,7001] (paraphrased, I can get
    the entire error if it would help).
    After another long pause, WLS1 quits trying with the error 'Server
    10.227.1.34:7004 not found' (again paraphrased).
    Among the things we've tried:
    * Changing the URL from the IP to 127.0.0.1
    * Enabling/disabling SSL on either or both WLSs.
    * Changing the server name in WLS2's copy of weblogic.properties from
    'myserver' to 'myserver2' (previously they were both 'myserver')
    * Upgrading WLS2 to 5.1.0sp5 (Tried upgrading WLS1, but was getting class
    not found errors and quit because that WLS is being used by other people)
    This is a Solaris server. WLS1 is running 5.1.0 and WLS2 is running 5.1.0sp5
    Any suggestions would be appreciated.
    Best,
    Randy Yarger
    marchFIRST
    [email protected]
    "Michael Girdley" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    There should not be. What is your network configuration? Are they on
    separate IP addresses?
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Randy Jay Yarger" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    We're having a problem with communication between two copies of Weblogicon
    the same machine. They are configured with seperate ports (regular andSSL).
    Independantly, they run fine. I can access EJBs running on either of
    them.
    The problem is that a bean in one of them has code which attempts toaccess
    an EJB on the other one. The procude fails when trying to obtain theinitial
    context. This same code works if compilied independantly of WebLogic onthe
    same machine.
    Are there any known issues regards communication between two running
    instances of Weblogic on the same machine?
    Thanks in advance,
    Randy Yarger
    marchFIRST
    [email protected]

  • Communication between two MVC's

    Hi.
    I want a communication between two MVC's, offcourse in one project.
    What I have:
    MainWindowView (MVC)
      |
      +--> MenuView (MVC)In my Menu MVC there is a button Logout. When this one is pressed the model had to tell the MainWIndowView that he can close.
    How can I do this?
    Statix.

    I have a solution... but I don't know if this is a neat one..
    This is my MenuModel:
              case 3:
                   MainWindowController.closeMainWindow();
                   LoginModel loginModel = new LoginModel();
                   LoginController loginController = new LoginController(loginModel);
                   break;
              ...This one communicates directly with a public static void closeMainWindow () method which disposes the view (JFrame)
         public static void closeMainWindow (){
              mvcView.dispose();
         }     Is this a solution so I stick to the MVC pattern??? I hope so... I wouldn't know another way...
    Thanks in advance!

  • When i connect my ipad to my computer via usb, the latest version of itunes states that the mobile version cannot be started because of an unknown error

    i have just downloaded and installed the latest version of itunes.  Now when i connect my ipad to my computer via USB, itunes states that the apple mobile device service cannot be started because of an unknown error (1058).  The connection worked fine with the previous version of itunes.

    so then i tried intsalling a stand alone if apple mobile device support (amds) but still it doesnt work
    Did you get an error message when you did the standalone AMDS install? If so, what does it say? (Precise text, please.)

  • TA44597 I'm trying to put playlist onto cd.  My computer has built in cd rom/dvd player that doesn't work, I purchased an external dvd rom which plugs into my computer via usb.  iTunes recognises when I have inserted a cd to play but will not burn to it.

    I'm trying to put playlist onto cd.  My computer has built in cd rom/dvd player that doesn't work, I purchased an external dvd rom which plugs into my computer via usb.  iTunes recognises when I have inserted a cd to play but will not burn to it. help!

    Portsian wrote:
    I'm trying to put playlist onto cd.  My computer has built in cd rom/dvd player that doesn't work, I purchased an external dvd rom which plugs into my computer via usb.
    Is it also a CD/DVD burner? Or is it kjust a CD/DVD player?

  • A point to point communication between two EJB

    How do we make a point to point communication between two ejb? Must i use mdb or session bean?
    Because i have a problem: how can i send a message to a specific EJB that i choose?
    Thanks

    Yes....U should post a message from EJB1 to a queue and listener can be the second EJB (Better if its an MDB).
    Whats the problem U r facing?
    -Rais

Maybe you are looking for

  • Air For Android - Full Screen not working

    Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app. I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publis

  • How to handle local user in SSO?

    Hi all, I'm setting up OAM 11g for SSO of web applications in our organization.   Some of the applications have single URL for both corporate users, guest, and administrators.  As the OAM is using corporate LDAP as authentication backend, guest and a

  • How to solve this problem in shell script: unexpected end of file

    Hello, I need to connect to each databases listed in /etc/oratab and check which database is shutdown(or mounted-only) and which database is opened to accept connection. However, following shell script gives me this error message: $>./check_is_db_run

  • System keeps crashing on my macbook pro

    I am using a MacBook Pro OS 10.10.2, when I try to transfer a book to my kobo, the system crashes? I have the 4.0 version of Digital Editions, help!!

  • Problem with CFDOCUMENT

    I upgraded to CF 7.0.2. My requirement is to convert .doc/.pdf/.xls to Flashpaper. I used <cfdocument format=Flashpaper" src="d:\test.doc" mimetype="application/msword" /> The Flaspaper does generate but it displays junk. Is it related to charsets? A