Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all, At the lab I'm doing research at, we have a motorized mechanical finger hooked up to a Linux box and a cyberglove (which receives data based off joint ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    1

    Networking Linux to Windows in real time


    Hi all,


    At the lab I'm doing research at, we have a motorized mechanical finger hooked up to a Linux box and a cyberglove (which receives data based off joint angles of the hand) for which only Windows software is available. We are able to use the numeric data from Windows software in order to activate the motors, but the only way to send it to the Linux box (as of now) is via large file transfer on the network/flash drive/etc.

    We would really like to be able to hook up the cyberglove data to the Linux box in real time, so that we could move the mechanical finger in real time.

    Unfortunately there's no Linux/networking gurus around the lab, so it's up to me to figure this out. Is there some way I could set up the Windows system to rapidly fire packets upon data entry and have the Linux box pick them up as they are sent? (Maybe I would have to synchronize send/receive?)

    Thanks for any help,


    Sterling

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Just put both boxes in same subnet thats all. it will bring them in a network.
    TCP=synchronized transfer itself.
    Is there is special protocol you are using to send information from windows to linux?
    If theres a custom server on windows made for your device Linux must have a compatible client interface to listen that boradcast.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,539
    You need someone who can write some software to move the data between the systems. Some sort of message bus such as JMS, TIB/RV, or even simple TCP/IP messages will do. It has to establish a connection between the Windows PC and the Linux system. What approach would work best - a message bus or direct TCP/IP connections depends a lot upon the API's provided by the WIndows and Linux software. You need a bridge between them.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    hehe, thats quite programming stuff.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  5. #5
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Here's a hammer for your nail...have you come across netcat?

    Netcat - a couple of useful examples

    Check out the first example, it allows you to create a kind of realtime chat system, so you might be able to pass data that way.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,539
    Quote Originally Posted by bigtomrodney View Post
    Here's a hammer for your nail...have you come across netcat?

    Netcat - a couple of useful examples

    Check out the first example, it allows you to create a kind of realtime chat system, so you might be able to pass data that way.
    Heard about it, but never considered or used it. That might be a good idea, assuming that they can hook it to their Windows application. Is it available for Windows? I'm sure it is for Cygwin, but natively?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Yes its also ported to windows, but never found it.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  8. #8
    Just Joined!
    Join Date
    May 2009
    Posts
    6
    Actually easy socket programming over the TCP would do it ...
    download some programming langauge called gambas, in the sample projects you will find 2 projects .. one of them to send data and the other to recieve (Server & client). its ready to use .. you can do some simple modification to it to do the job.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •