How to connect 2 computer in LabVIEW?

Hi,
I currently trying to send an input that I put from computer A to be output in computer B. I read that I need a shared variable for it, and I already set the shared variable. My main problem now is how to establish a connection/communication to the other computer? I tried reading in the forum but got confuse on how to use it. Anyone had a simple method on how I could do it?
Thanks
Ridhwan Ali
Solved!
Go to Solution.

Cool! I had a look at the examples and test it. It works.
Here are the steps that I took: (*I had both of my computer connected through a router which I used to connect both of them to the internet, i just plug Ethernet wires from both computer to the router, that's all, no configuration needed)
1) Open Data Server.vi in my 1st computer
2) Open Client Server.vi in my 2nd computer
3) Search for my 1st computer IP address by going to the
Start (at 1st computer) >Run>enter "cmd">type "ipconfig"
4) Search for my 2nd computer IP address by going to the
Start (at 2nd computer)>Run>enter "cmd">type "ipconfig"
5) Ping the 2nd computer from the 1st computer to check if the connection is ok.
Start (at 1st computer) >Run>enter "cmd">type "ping [2nd computer IP Address]"
7) Set the port number in Data Server.vi to any desired number (in my case I just choose 6350)
6) Run Data Server.vi
4) Set the port number in Client Server.vi to match the one in Data Server.vi (in my case 6350)
7) Run Client Server.vi
8) The waveform should appear in the graph in Client Server.vi
9) SUCCESS!
*now I can change/modify the desired transmitted input to any input I wanted!
Thanks

Similar Messages

  • How to connect computer to computer

    I have been wondering for a while already and have been trying to figure it out. How can I connect to my brothers computer to share our files with each other without connecting to the internet? Basically a file to file sharing withing the 2 macbooks.

    This might help you
    Communicating with other computers wirelessly
    Mort

  • How to connect computer to T410 to see the screen?

    Hi,
    I wonder if it would be possible to connect another computer to my Lenovo T410 via VGA cable so I would be able to change the video input and see the screen of another computer... 

    no you can't. The vga port can only output and does not take input for any videos.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • How to connect computer and itunes locked mode is lost at the same time

    when I have enough information and icloud

    Lê Đức Anh wrote:
    how to reboot when locked and in lost mode
    If you put it into lost mode log in to https://icloud.com/find and erase the phone. If someone else put it into lost mode with their Apple ID and you do not know the passcode for their Apple ID account the phone is useless to you.

  • How to connect my macbook pro to a computer-to-computer network?

    how to connect my macbook pro to a computer-to-computer network?  My home computer is a Window 8 OS.  Thx.

    The easiest way, and it may work from scratch, is to share the folders/drives you want access to on your pc, noticing what are the default parameters (eg "workgroup" etc.).
    Then, you can connect your mac directly by ethernet, for instance, and, in Finder, go to > Network, you should see the folders/drives. You may be asked to provide user/password.
    Don't get confused by regular/crossed ethernet cable, as mac can cross by software, so a regular cable will be ok.
    Anyway, either you isd modem has the ability to connect several devices (multiple ethernet sockets, or wifi), or you can buy a router, which isn't expansive.

  • How to use an external start button for 6024E w/ sc-2345, I would like it to function like a start button in LabView but I don't know how to connect the external button to the sc-2345's connector block

    I am confused as to how to connect my external start botton. I would like it to function like a start button on a front panel of a VI. I would like to use the +5V on pin 14 but I really don't know where to go from here. Any guidence for a novice would be most appreciated.

    phod,
    This is the LabVIEW Real-Time forum, so I suggest that in the future that you post this type of question to the Multifunction DAQ forum.
    For the simplest solution you will have to connect your button to a digital line of your board, consult the sc-2345 user manual for a diagram of where these lines are exposed. You will have to connect your start button in series with a line that is high, such as your 5V pin or another digital line. Then connect this to a digital line that will be your start trigger.
    Your program can poll the digital line that is connected to your button in a while loop and when it goes high, it lets the rest of the program execute. For the programming, I suggest you take a look at the shipping examples that come with LabVIEW. If yo
    u have LabVIEW 7.0 go to Help>>Find Examples. Open Hardware Input Output>>Traditional DAQ>>Digital Input and Output>>E Series for some examples of digital I/O programming with E-series boards.
    Hope that gets you started.
    Gerardo

  • HT201269 How to connect Iphone 4 to computer

    How to connect Iphone 4 to computer

    Plug one end of the cable into your computer and the other into your iphone

  • How to connect to website through computer if i do not use internet through phon's sim

    how to connect to website through computer if i do not use internet through phon's sim

    Connect through wifi.
    Turn off Cellular data through settings __ General __ Network __ Cellular Data on/off

  • HT201269 how to connect I-phone 5S to a computer to transfer audio and data files

    how to connect I-phone 5S to a computer to transfer audio and data files

    You asked the same question 20 minutes ago and I answered it then
    https://discussions.apple.com/thread/6029247

  • How to connect second computer

    How do I connect a second computer to my wireless network.
    First computer is a laptop and connects fine.
    Do I have to download drivers etc to the second computer?
    I have been to the drivers & software page but the advisory videos don't download for me so I don't know EXACTLY and HOW MUCH  to download.
    I am in Australia.

    Hi,
    Double post. Please use:
        http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/How-to-connect-second-computer-to-Deskj...
    Thanks.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HP/Agilent Infiniium 54831B scope - how to connect with LabView 6.0 by LAN (TCP/IP)

    Dear,
    I'm looking inf. how to connect Agilent Infiniium 54831B scope with LabView 6.0 by LAN (TCP/IP).
    Thanks in advance.
    Regards,
    Z.Mrowka
    mailto:[email protected]

    Hello,
    If the instrument is capable of being controlled from its TCP/IP port, it will be possible to communicate with the instrument from LabVIEW using VISA.
    The VISA resource name input will need to be entered manually and is a little different from the normal Serial or GPIB format. The format is as follows:
    For SOCKET connections, this is just like the traditional TCP functionality in LabVIEW. An example string that connects with the NI FTP site is:
    "TCPIP::ftp.ni.com::21:OCKET"
    For INSTR connection, this requires a device that supports the T&M standard LAN instrument protocol. An example of this (that we have tested with) is the Tektronix 3054 Scope. A string that connects with this scope is: "TCPIP::HostnameOrIP::gpib0,1::INSTR"
    I hope this
    helps,
    Anthony Bacak
    National Instruments
    Applications Engineering

  • How to connect mobile model 2310 or 1112 to comput...

    how to connect mobile model 2310 or 1112 to computer
    i want to connect my mob to computer to update my ring tons

    Really I was surprised when I saw USB connectivity port for that Nokia 1112 Phone.
    I have tried to connect with compatible cable , with following applications.
    A. MobiMB Mobile Media Browser
    B. PolyPhonix Studio
    C. LogoManager Pro Suite
    Unfortunately there connection was not establish
    Really don't know whether it is possible OR not
    Removed e-mail address, we do not recommend posting e-mail addresses on the discussion boards
    Message Edited by rajendranet on 12-Mar-2008 04:55 PM
    Message Edited by spanishtaco on 12-Mar-2008 05:06 PM

  • HT1212 i changed my ipad password and have forgotten what I changed it to. How do I unlock ? I have access to a computer and cable to connect computer to ipad.

    i changed my ipad password and have forgotten what I changed it to. How do I unlock ? I have access to a computer and cable to connect computer to ipad.

    Forgotten passcode
    http://support.apple.com/kb/HT1212

  • Does anyone know how to connect there computer to the enternet using iphone

    I was wanting to know how to connect my computer to the internet using my iphone.

    You can't, not supported

  • How could I get the setup files to install Adobe Media Encoder in a non connected computer?

    HI,
    I'd like to try Adobe Media Encoder in a non connected computer.
    But I don't find the way to get the trial setup files.
    Thanks in adavance for your time.
    Mike

    AME is tied to other apps. There is no separate installer.
    Mylenium

  • How to connect printer to virtual computer

    How to connect a hp830 printer to a VC running WXP? The same printer works fine on a physical PC, but when I follow directions in the install wizard to "add new printer" within the VC, it comes back "driver not installed" and fails.

    The only way to print from a remote source is to save the files locally and print them from there. There are some commercial class printers that will support remote printing, but I don't know the exact models. An alternative way of doing this would be to get a printer that supports ePrint. With ePrint you can print from any source that can send an email, from anywhere in the world. All you have to do is make sure the printer is on and has an active internet connection. Hope this helps.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for

  • Count the Records in  an internal table without a loop.

    How do i count the number of records in an internal table without using the loop  statement. The Describe statement give the total no. of records in the internal table.But i want the count of the key fields in the internal table For eg Row Field 1   

  • Does time machine backup iCal using CalDAV?

    Greetings, I'm curious if Time Machine creates backups of an iCal account that syncs with Google Calendar via CalDAV. For instance, if I delete something from my Google Calendar (or, God forbid, my entire Google Calendar) would I be able to access th

  • Web service Complex type

    hello i want to ask if i can make a complex type that is composed of many other classes and witch databinding framework should i use to do do the mapping from xml to my one classes not the auto generated classes thanks for your help.

  • Attached PDFs within PDFs sometimes open and sometimes will not....?

    Any advice would be much appreciated! I'm working in Adobe Reader XI (11.0.10). I'm attaching a series of smaller, one-two page PDFs to a single 25-page PDF document--maybe 50 or so attachments by the end of it, all PDFs. I'm using the "Attach File"

  • Update Global Temp Table in Oracle 11g

    Hi Experts, Scenario: I have stored  procedure A which calls procedure B. Procedure B uses Global temp Tables(With On Commit Preserve Rows)  to work with the data. I am trying to update one of the GTT in Proc B but unable to do it .. via SQL or via P