Home AMX User Forum AMXForums Archive Threads AMX Hardware

NI-3100 IP issues

I have an NI-3100 that does everything that it is supposed to do until I want to connect to it via the ethernet port and use NetLinx Studio. I always have to power cycle it. If I am doing code, I usually leave open the debugger so the connection will stay hot. It seems if left alone for a bit, the ethernet port ceases to work with Studio until I reboot it via a power cycle. Is there a setting somewhere that is causing this? As mentioned, it controls everything just fine, even the items controlled via IP. The only time I have any problems is when I connect my PC to the network switch and try to connect to it with Netlinx Studio. The problem might lie within the switch, but our network guys are always quick to point their fingers at the devices as compared to their switches. Any suggestions?

Comments

  • I have an NI-3100 that does everything that it is supposed to do until I want to connect to it via the ethernet port and use NetLinx Studio. I always have to power cycle it. If I am doing code, I usually leave open the debugger so the connection will stay hot. It seems if left alone for a bit, the ethernet port ceases to work with Studio until I reboot it via a power cycle. Is there a setting somewhere that is causing this? As mentioned, it controls everything just fine, even the items controlled via IP. The only time I have any problems is when I connect my PC to the network switch and try to connect to it with Netlinx Studio. The problem might lie within the switch, but our network guys are always quick to point their fingers at the devices as compared to their switches. Any suggestions?

    try another switch. we use unmanaged allied telesis 8/16-port switches. or no switch at all. but then make sure you connect to the netlinx master with a crossover-cable.

    I suppose you have loaded the actual Netlinx and Netlinx Device Firmware, as there was an issue with stuff like that before.
  • SensivaSensiva Posts: 211
    I had this problem before

    I had this problem before , it was because I set the gateway IP to 0.0.0.0
    after then its fine except that I can't use the terminal in the same time with ethernet connection,
    anyway, I recommend reloading firmwares. and call AMX support first.
  • vincenvincen Posts: 526
    Do you use network links in your program ? Cause it could be caused by no more IP sockets avalaible in master if you do some IP_Connection_Open and never close them for example ;)

    Vince
  • vincen wrote:
    Do you use network links in your program ? Cause it could be caused by no more IP sockets avalaible in master if you do some IP_Connection_Open and never close them for example ;)

    Vince

    The only network items the Netlinx talks to are the three touch panels via a Cisco switch. I was just looking back over my code before I responded to this and I noticed my three TP's are declared like so:
    dvTP1  =  10001:1:0
    dvTP2  =  10002:1:0
    dvTP3  =  10003:1:0
    

    There is no data event for them. This is the only Master I am havig this problem with and the only system that sports multiple TP's. Have I declared my TP's wrong? Am I causing this problem?
  • vincenvincen Posts: 526
    Oky so first idea of sockets no more avalaible is wrong !

    May you connect in RS-232 to program port of NI when you are no more able to connect in IP ? and if so, may you do a msg on and see if something is displayed ?

    Also may you force NI in half duplex 10 for Ethernet as it's the most compatible mode, and it should have no consequence on your system for operation ;) (set ethernet 10 half in terminal on NI to do that and reboot master

    Hope it helps ;)
  • HedbergHedberg Posts: 671
    I have seen this sort of thing only once and it was for an installation in which we were required to use the client's network. Coincidentally, that installation used Cisco managed switches. Fought it for a while and never could determine what was causing the problem, but we fixed the ethernet mode (as suggested already) and turned UDP broadcast off (set the udp broadcast rate to zero via telnet to your master) and the problem went away. See TN544 for a discussion of UDC broadcast rate. Make sure your touch panels are not using "auto" connect.

    I've attached a text file with TN544
  • adysadys Posts: 395
    I have the same problem

    masters are loosing netlinx communication, I must reboot to communicate with them again.

    gateway is not 0.0.0.0, I have last firmware update...

    Switch is a simple Linksys 54g

    Ping is working ok, I just can't connect with netlinx studio.

    any idea?
  • viningvining Posts: 4,368
    Check you security settings in the master and your password settings in NS2.
  • adysadys Posts: 395
    No security in Studio.

    I am connecting, but the connection is drooping after some time when there is no activity.
  • DarksideDarkside Posts: 345
    adys wrote:
    I have the same problem

    masters are loosing netlinx communication, I must reboot to communicate with them again.

    gateway is not 0.0.0.0, I have last firmware update...

    Switch is a simple Linksys 54g

    Ping is working ok, I just can't connect with netlinx studio.

    any idea?
    If you don't have a gateway, set the gateway IP address field in the master to the masters IP address.
Sign In or Register to comment.