Home AMX User Forum NetLinx Studio

Upload of .irl file to NI-3100 fails

I have a home with three controllers (one each of 3100, 900, and 700) in it that's about to go live and everything seems ok, except I can't get one IR file to upload to the NI-3100. The file is one that I've used before in other projects and it works just fine. In fact, it will upload to the 900 with nary a complaint. The error that I get is not terribly informative:

Item transfer has not started in 25 secs. Cancelling Item transfer.

The device declaration is:

dvCable_Loft = 5001:9:2

I also tried 5001:10:2 and 5001:11:2, and 5001:9:0. I tried deleting the mapping and re-establishing it, and then completely removing the file from the project and then adding it back in. I thought it might be a problem with the security settings, so I turned all of that off from the controller's web interface and unchecked the "Authentication required" checkbox in communication settings. None of that helped.

I'm sort of at a loss now. Any ideas? Thanks in advance.

Comments

  • Because the IR file is stored on the CompactFlash, it may help to do a "Clean Disk"?

    !!! On your own risk !!!
    From terminal, do a CLEAN DISK<enter>, let it finish, reboot the master and reload your project to the master.
  • asadlerasadler Posts: 19
    Unfortunately, that didn't work, either. I have a feeling I'm missing something simple.
  • banobano Posts: 173
    asadler wrote:
    Unfortunately, that didn't work, either. I have a feeling I'm missing something simple.

    It looks like you're using master to master. Have you tried connecting directly to that master's ip address?
  • asadler wrote:
    I have a home with three controllers
    ...
    The device declaration is:

    dvCable_Loft = 5001:9:2

    Did you go to the worktree in Netlinx Studio and check the 'System Properties' for the system to make sure that the System ID is correct and that it matches the NI-3100's setting? Did you also make sure to change the system # on the NI-3100 to System #2. If your System ID # is set wrong in the properties or on the controller, then when you try to transfer the file it will look like it's trying to communicate, but then it times out and gives you the error message you mentioned: "Item transfer has not started in 25 secs. Cancelling Item transfer."

    Hope this helps.

    --John
  • By the way, I think if you issue a clean disk command, it will reset the controller back to system 1. So you may have to remember to reset it to system 2 for your cofiguration anyway even if that wasn't the original problem.

    --John
  • asadlerasadler Posts: 19
    bano wrote:
    It looks like you're using master to master. Have you tried connecting directly to that master's ip address?

    I'm trying to transfer the file directly to the controller in question from NetLinx Studio, using the File Transfer dialog.
    Did you go to the worktree in Netlinx Studio and check the 'System Properties' for the system...

    I set the system number through the web interface, and it seems to be displaying correctly in NetLinx Studio
    By the way, I think if you issue a clean disk command, it will reset the controller back to system 1.

    From the web interface, it still looks like it's set at system 2. Maybe a factory reset or something is in order?
  • So if you go into the workspace tab in Studio, right click on the system you're trying to transfer to, and select "system properties", does it show the same system # as what you're getting in the online tree?

    Do other files transfer o.k. to that Master through studio?

    From the web interface, it still looks like it's set at system 2. Maybe a factory reset or something is in order?

    I could be mistaken about 'clean disk' resetting everything. I thought I remembered having to reset the port # for NS Studio Access, but I wasn't sure about the system #. Always good to reboot the master controller after you do those kind of operations anyway though.


    --John
  • asadlerasadler Posts: 19
    Yes, the correct system ID is shown in the system properties box. The only other files I have to transfer to that master are the source and program files. I'll try get upload a different IR file and see if that works.
  • asadlerasadler Posts: 19
    Update to this: I tried adding a second IR file to the project bound to a dummy IR device in DEFINE_DEVICES, and that IR file would not upload either.
  • Time ti start over?

    Maybe it's time for you to go get the box out of the loft, put it on your desk, attach to it directly using a crossover cable, strip it down to bare metal, give it system number 1, and see what happens.
  • asadlerasadler Posts: 19
    I just noticed something

    I have two controllers here on my desk that I'm using to test stuff for this project and I was fiddling with them to try and make this work when I noticed an odd thing.

    If you look at these images:

    System tree on the NI-900

    System tree on the NI-3100

    you'll see that the NI-900 has a 5001 entry for the controller, while the NI-3100 does not. In the NI-3100's system tree, the only entry labeled "NI-3100" has an address of 32002. I don't know if this is significant or not, but it seems like it might be. Is my 3100 horribly misconfigured or something?

    I've been using this 3100 to test code on for a couple months now, and it's never misbehaved before. But maybe that's because I never needed to use anything but system ID 0 for device declarations before now.
  • asadlerasadler Posts: 19
    Maybe it's time for you to go get the box out of the loft, put it on your desk, attach to it directly using a crossover cable, strip it down to bare metal, give it system number 1, and see what happens.

    Thankfully, this house isn't live yet. I'm currently just testing all this stuff on my controller here at my office. It's possible that none of this will be an issue when we actually get up there to load code. In my post above, I mention a thing that I noticed earlier that may be the root of my problems here.
  • asadlerasadler Posts: 19
    I got it

    The addressing thing was the problem. I re-addressed my NI-3100 from 32002 to 5001 and everything uploaded just fine. I don't know how that address got changed (to be honest, I didn't know it COULD be changed), but everything appears to be working now. Thanks for all the responses, everyone. I really appreciate the help.
  • asadler wrote:
    I re-addressed my NI-3100 from 32002 to 5001 and everything uploaded just fine.

    That's the 2nd thing you do when installing a new one, immediately after assigning an IP address and before setting the date and time.

    Maybe your attempts to do a factory reset also reset the device number.
  • banobano Posts: 173
    asadler wrote:
    The addressing thing was the problem. I re-addressed my NI-3100 from 32002 to 5001 and everything uploaded just fine. I don't know how that address got changed (to be honest, I didn't know it COULD be changed), but everything appears to be working now. Thanks for all the responses, everyone. I really appreciate the help.

    some firmware upgrades will change the device address.
  • asadlerasadler Posts: 19
    That's probably it. I just upgraded the firmware on this controller a couple days ago. Good to know, thank you.
  • Glad to hear you were able to fix it. Speaking of firmware upgrades... There are two parts to the firmware upgrades on the master controllers: the master firmware and the device firmware. It looks like you updated your master firmware to the most current 3.21.354 but not the device firmware. The current device firmware for the 3100 is 1.13.6. To update the device firmware using Studio, select the device firmware file, and enter the device adress (5001 in your case now :)) as your target.

    Again, glad to hear you were able to get it figured out.

    --John
  • asadlerasadler Posts: 19
    Thanks yet again. ^_^
  • DHawthorneDHawthorne Posts: 4,584
    asadler wrote:
    I have two controllers here on my desk that I'm using to test stuff for this project and I was fiddling with them to try and make this work when I noticed an odd thing.

    If you look at these images:

    System tree on the NI-900

    System tree on the NI-3100

    you'll see that the NI-900 has a 5001 entry for the controller, while the NI-3100 does not. In the NI-3100's system tree, the only entry labeled "NI-3100" has an address of 32002. I don't know if this is significant or not, but it seems like it might be. Is my 3100 horribly misconfigured or something?

    I've been using this 3100 to test code on for a couple months now, and it's never misbehaved before. But maybe that's because I never needed to use anything but system ID 0 for device declarations before now.

    The 32000 range of addresses is reserved for runtime generated devices. Most likely, it simply lost it's address (I've had this happen to me only twice since I have started using NetLinx, so it's very rare, but not unheard of), and the system saw it was there and assigned it in that range. If it were me, I wouldn't worry about it unless it starts happening on a regular basis; most likely, it was the firmware update, as has been suggested.
Sign In or Register to comment.