With the help of screws of TCP/IP with a cable crossed.

Hello

I am brand new with programming from the network.  I am trying to send and receive messages via the port Ethernet using Labview for future application.  I have an Ethernet cable that connects 2 PCs, which has cross installed Labview.  I try to ping the other computer by using TCP open/listening, but I don't know what to put in the remote port entry.  Thanks for your help.

SB

I recommend that you look at the posted here ping raw socket library

http://forums.NI.com/NI/board/message?board.ID=170&message.ID=70801

Tags: NI Software

Similar Questions

  • With the help of screw Express

    Hello

    I heard that using screw express is not a good practice, I found that they add for convenience when coding. Could you tell me which should b the best practice? Using express screws or logical development by using the function?

    Thank you.

    Lenora

    For my part I avoid express VI because they allow me to ignore notions. They can be a great tool for beginners, but I encourage anyone using them with the right button of the express VI > open front > convert. Then study the underling fictions and steps 'in' the express VI who have done what you were trying to do.

    Next time, you can build your own!

    Also, for the DAQ hardware, etc. I think that express screws typically initialize a resource, perform and action and then close the resource. Several times, it's not desirable - for example acquire data repeatedly - therefore, if you know that the express VI you can build a more effective overall programme (for example: moving initialize and close functions outside an acquisition loop). Many embedded examples accomplish the same things as convenient express screws of programming better.

    Once, again is not necessary a bad way to start, but I don't think they are good practices to proceed.

    See you soon,.

  • With the help of screws of Vision Acquisition with the PCIe-1429

    Greetings earthlings,

    Y at - it a tutorial/book white/site that can give me an introduction on the use of the Vision Acquisition IMAQdx screw to capture images using the PCIe-1429? I am brand new to this kind of thing and it is a little outside my area of expertise, and I don't know where to start. I don't even know the basics of a general approach for the implementation of the process.  Any suggestions would be most appreciated. I am aware that I need to set up a file from the camera via the MAX application.

    Thank you!

    Candice

    Hi Candice,.

    There are a number of references on our site to help you get started. For starters there is the Manual and Quick start guide.

    What device do you want to buy from? Depending on whether you have the camera, you can download the file from camera on our site. To learn more about the files of camera here, which includes links to where to find ready made camera files. Finally, there are a number of examples in the example LabVIEW and CVI finders that explain how to acquire images using IMAQdx. You can access these examples via

    "' ' ' 'Help' example Finder. '" In the pop-up window, access the material record of entry and exit"IMAQdx.

  • With the help of the strain gauge convert read vi

    I'm having trouble with the wiring of the strain gauge convert reading vi. Are there examples of this vi showing how to connect?

    Thank you

    HS

    Have you checked the help file to this topic?

    http://zone.NI.com/reference/en-XX/help/371361G-01/lvinstio/conv_strain_read/

    There seems to be some examples of stock to use, but the help files for these screws can be VERY useful.

  • With the help of HTTP PUT

    Hi all!  I am using HTTP PUT in labview 2014 to send a command to remote device ethernet to activate a beep.  I can successfully send the command and get the buzzer to turn on using a tool like PostMan (google tool App), however, when I try to do in labview I get error 400 harmful content.  I can do an HTTP GET and it works very well.  I think it's a problem of format? I tried several combinations with addition of header information different as well as out the handle open, etc.  I'm sure it's probably something simple, any ideas would be appreciated!  I have attached a picture of the return code that I've been playing with.  Thank you!

    My colleague downloaded wire shark and was able to find out the HTTP PUT labview sent additional information of TCP that my camera was not expected and therefore my returned camera the bad content error.  I ended up using just a TCP writing and managed to do work properly.  Thanks for all the help!

  • With the help of VISA Write in parallel loops (multithreading)

    Hello

    I got the idea to set up four parallel loops on a quad core with four EHR via serial port independently. I use the PXI-8430/8 and I was told that an independent operation of ports is possible.

    What I did was simply to put in place four parallel for loops consisting only of a single entry VISA. With the help of the Tools > profile > find parallelizable loops, they gave me the following warning

    This loop For may or may not be safe to parallelize. Warning (s):
    -A node in the loop For can have side effects.

    This means, that the pilot VISA screws are not suitable for multithreading? With the help of LV2010

    Thanks for your comments!

    See you soon

    Oli

    Here's some good reading on paralleled for loops.

    Regarding the caveat, it's just that - a warning. If you write commands on a device and orders must be received in the order then you cannot parallelize the loop. If the order does not matter then go ahead. But in the case of VISA wrote that a parallelized loop going not buy you anything. They are intended for operations of calculation intnesive.

    Just stick to four loops.

  • With the help of semaphore with a Global Variable - correct use?

    Hi all

    I looked in the use of global variables and in my case, it seemed with the help of a semaphore is the appropriate solution.

    In my case, I use a global variable to store the State of the system. Asynchronous two with screw environment (same VI) will follow two COM ports to see if they get a ' login:' command prompt. If the COM port is associated with Alpha, Charlie, or Echo, it increments by 1, and if it is associated with the Bravo, Delta, or Foxtrot, is incremented by 2 GV. If the GV is 3, the rest of the code will run. In this case, it must be a port COM A, C or E; the other should be B, D or F.

    A VI parent is called inside a loop. He works for the first loop. He never adds up to 3 on the second loop, however. I can't understand why. Please let me know if my code is a poor use of semaphores, or if there is debugging I can try.

    I'm still relatively new to LV, so I'm sorry if my screws are difficult to read. I created this in LV2011.

    Thanks for any help!

    CelerityEDS wrote:

    The output of my time looping (wait GV = 3) goes to the structure of the case on the bottom right (clear SGS, PasswordEntry, etc.), so the GV get indeed consulted by the upper case structure right.

    ??

    Your right upper case structure does not run until your time ends in a loop.  The while loop does not stop until the total is equal to 3.  Where can increment you the world besides structures case you cannot yet?

    Have you tried in your point culminating execution of the VI in order to see how they are actually running?

    Another problem that I see.  Assuming that your first while the loop is going to end.  In the structures of your case, you lock the semaphore.  But you can never unlock the semaphore unless you have the right combination of conditions that allow you to get to the case that unlocks the semaphore.  The conditions are based on data that are read before the start of the case of structure, which means that data will not be read and changed until it all ends.  You have the timeout of your lock semaphore connected on one of the cases, but your semaphore lock can never timeout because you do not have a value on his entry time-out.  I think you have a situation where you can lock a semaphore, then arrive at a situation where you can not unlock, then wind locking up of your cold code.

    I don't really think that you need a semaphore at all.  I think you can protect reading and writing functional your overall using a global variable, i.e. the motor action.  Overall, I think you need to rethink the architecture of your code.

  • With the help of an operating system older Compaq is professional Windows. Internet Explorer connected very slowly. .

    With the help of an operating system older Compaq is professional Windows. Internet Explorer connected very slowly. SO I've reworded in safe mode with network and IE has worked very well. I installed Mozilla Firefox and then restarted in normal mode. Then Internet explorer would not connect. How to diagnose in safe mode. What does safe mode or safe mode with network do to help diagnose? Can someone help me solve this problem? Any help would be appreciated thanks in advance.

    Hi, Raymond J,.

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What type of internet connection do you use?

    ·         What security software do you use?

    Follow these methods.

    Method 1: As the problem does not persist in SafeMode with network, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click restart to restart the computer.

    Method 2: Follow the steps in the article.

    How to troubleshoot possible causes of Internet connection problems in Windows XP

    How to reset the Protocol Internet (TCP/IP)

  • Has anyone recently had an experience with the help of MS which seemed inappropriate in the way it was handled?

    I talked about what I thought, it was the 'answer Desk' many x since 2/2013. The first time, I agreed to pay a fee of $99.95 for their support of prem. My space available on my C: drve (my primary internal HD) had suddenly disappeared from aprx 30 GB less than 7 GB and I was getting warnings in order to free up more space for the OS to work (Win 7 Hm Prem). I was unable to do a restore and ended up opting for the help I thought may be some kind of malware... I sat down and typed chat w the tech until the store has been w / I 10 minutes from closing. He said to go ahead and that it would update me when I got home. When I got home, he said that I had nearly 200 cases to be a site where a virus or something like that. He also had somehow freed more than 80 GB on my C: drive. I was exhausted and overwhelmed by the upheavals which went down while I was gone for 15 min. I made the mistake of thinking I could get additional clarification of all cela the next day when I had little sleep. I've never been able to get a detailed account of what he wanted by 200 close to infections or how he had gotten me 7 GB when I left at more than 90 GB, when I got home fr store. I found w / I a few days I still had serious w problems my free space on the drive internal dissapating too low levels and still not the ability to do a restore. I tried a recovery when the restore has failed twice. I had to do several laps when I got a computer laptop w Vista as a model of HP for my 1st purchase computer - a laptop given to nine (w. XP). As we know, Vista was raided in MS * until they came out SP1 SP2 for the confused, tired of the masses. In any case, I haven't had any apprehension on the restorations - bk to the top of your list of files, the software U wanted to reinstall. When I tried it on Windows 7 in 2/2013, I learned, I was given a key to sting that was incorrect because of sm. I bought 7 online after that Vista would not even restart files en lost because the registry (where they went are beyond me, maybe Costa Rica). Forgive my black humor, but it's what has kept me sane while devoting my life to constantly face w Windows for 1 reason or another. Fast forward to February. I was assigned 6 diff cases impossible since then because after I received a regenerated prod key and the reciovery, I had lost my CD burning ability. The last 2 times I called 'Office of response', literally, I spent 5 -7 w h. Tech that didn't charge me but also left me w no solution after having exhausted me while they were just travelling. All this has a cumulative effect and they play you w. that to mind. Following the last was a guy named Alex who swore that he would call me the next afternoon at 16:00 and I never heard from him again, haven't had no case, said that no Alex was there, etc... Finally, yesterday I called and when I unbalanced young woman in its attempts to prelim to guide the conversation, she got her suervisor, a type of very vigorous hyperconfident, which all of my history w recent them and resolutely focused on sell me either one another session extraordinary $ 99.95 w simply ignored another tech or an extended warranty program to cover me for mos how. I do not know. After refusing not to recognize my recent w purchase offers even no follow-up, no help to solve the problem at all - I said that, although it was of course polite to its mandate - closest high-power, he ignored the very relevant inconsistencies that I did clearly too many times and with a less-than-slick method called simply ignore the objection and try to talk me into submission. I have rfealize many of you in the forum must have had some formal w MS Assoc. and I am not condemning the whole anything. I don't get what support degenerated. The guy went yesterday to a few administrative event viewer screen and "showed me where I had turned off many vital MS service components, including 1 thatr makes no sense whatsoever - I told my update of Windows (which is set to auto-install every day without any special authorization) DO NOT to INSTALL ALL the DRIVERS...". Who does not at all any H2O. Why I set the update I have described and then send it to not do very well the tasks he would have apparently if necessary to update? If anone can begin in any sense of the madness, I really see how it was me that I screwed up over and over again. Thanks to all of you who have really tried to help me. At this point, I decided to save my $ for a refurbished MacBook Pro and pretend this never happened. SLO

    What you're missing is in the hands of the manufacturer of computers, OEM, not Microsoft Windows OEM support.

    Microsoft support is more oriented to businesses, not individuals, and $99 fees to home users...

    Forum support is much better than Microsoft or any other company could never muster anyway.

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

  • With the help of old gear series noon on El Capitan

    I have a Vox Tonelab SE effects audio Board (around 2004), there the old serial midi on the back ports. I hung with the help of a USB MIDI interface cable. While the USB Midi interface to the show in Audio / Midi set upward and also in the profile system for USB port it does not detect the Vox Tonelab so no communication lunch.

    There is a POWERPC application called ToneLabSE SoundEditor which I downloaded and installed in the hope he would install a driver but I guess that this obviously doesn't work on INTEL in any case. Using Wine I can run the PC version, but still no communication via midi.

    Someone at - it ideas, would like to get this Panel communicating effects via MIDI.

    Thank you

    Solved! Using the WINE app I've run the version of the PC of ToneLab SE editor application. So pretty unintuitively by changing the serial midi to USB, SERIAL interface cables that went to the and out on the Tonelab SE. Now of the Se ToneLab editor I can write banks of programs to hardware Tonelab, but unable to empty the banks since the material Tonelab to software. My main desire was to use Expression pedals on the Tonelab as Midi Ableton controllers and some of the switches to the control of the Looper stomp. Now I can do it all. Hooray!

  • With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    Opening was a pro the Pro amateur-oriented or serious app, usually shooting Raw, probably on a digital SLR.

    If that's you then pictures will miss a lot for you.

    If this isn't the case, then opening was probably overkill for your needs.

    If you like the pictures then this is the way to go.

  • Thunderbird will only connect if stop then reopened. (With the help of Mac 10.9.4)

    With the help of Mac 10.9.4
    If I open Thunderbird, I can connect to my e-mail address and download the messages. If I select "Get Mail" once again, Thunderbird crashes and fails to connect to my emails. If I then close Thunderbird and re-open it, I'm able to immediately connect to my mail.

    It seems to have sorted itself after a few days. (Fingers crossed). Until today it worked properly. Will keep an eye on things for the next week and the report does so again.

Maybe you are looking for