Menu

Urg_driver::open(): 192.168.0.10: could not open ethernet port.

Anonymous
2016-06-23
2016-06-27
  • Anonymous

    Anonymous - 2016-06-23

    I'm trying to use a UST-20LX with an ethernet connection on a windows 7 laptop.
    It has power, blue led is on. I've hard reset the IP as far as I'm aware by touching the COM- and INPUT wires together longer than 2 seconds according to the specs.
    I followed everthing in the following guides except for the serial port part.
    https://sourceforge.net/p/urgnetwork/wiki/tutorial_en/
    https://sourceforge.net/p/urgnetwork/wiki/ip_address_en/

    And yet I can't seem to use the sensor. Computer acknowledges I'm connected to something but ping says it is unreachable or times out. Using the get_distance sample in urg_library 1.2.0 results in Urg_driver::open(): 192.168.0.10: could not open ethernet port.
    And urgBenri just doesn't do anything at all.

    Can anyone help me out here?

     
  • Mehrez Kristou

    Mehrez Kristou - 2016-06-23

    Hi,

    Please type "ipconfig" in a terminal window. Do you see in any of the adapters has an address which looks like this: 192.168.0.XXX?

    Regards,
    Kristou

     

    Last edit: Mehrez Kristou 2016-06-23
    • Anonymous

      Anonymous - 2016-06-27

      Yes,
      Ethernet adapter local area connection has an IPv4 of 192.168.0.100
      That is the only adapter with an address of that form that I see.

       
  • Christopher Chinowth

    I'm not sure if my reply went through or not so I will repost it.
    I see my ethernet adapter local area connection has the IPv4 192.168.0.100
    Nothing else has an IPv4 that follows that pattern.

     
  • Anonymous

    Anonymous - 2016-06-27

    Some more information,
    Though I thought I had successfully done the IP reset it seems that I may not have. When I touch the IP reset line with the com- line for more than 2 seconds the sensors led light does not blink and the sensor does not reboot.

     
    • miyamoto musashi

      What voltage are you supplying at COM+/COM-?
      Here are the UST-20LX I/O schematics:
      UST-20LX I/O

      the I/O power supply is for the photocouplers. You can use the same VIN+/VIN- power source lines to supply COM+/COM-.

      BTW: If you still are refering to the UST-20LX it does not have a red LED but a blue one.

       
  • Christopher Chinowth

    I figured it out, the IP was in fact changed from the default. I was able to determine what it was changed to with wireshark, now that I had the new IP I was able to connect to it with Benri and change the IP back to the default IP and all is well.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.