Home AMX User Forum AMX General Discussion

Mio R4 Zigbee pro

Problem1:

In Netlinx studio help one read DEVICE_WAKE(device, mode) in the Netlinx code to wake a suspended device.

Got a compile error "symbol Normal_wake not declared" ??? in line :
DEVICE_WAKE (DEVICE, NORMAL_WAKE)

Problem 2:

Can not send the TP4 file. Now with zigbee pro we can send the TP file with zigbee or is it still the old USB ??

Comments

  • John NagyJohn Nagy Posts: 1,742
    Still USB. But so much easier and more reliable, always comes online in the virtual master... although give it 45 seconds or more to appear on the tree (refresh it til you see it) in NLStudio.

    Also, a common support call item: remove all user pages in the R4 before sending a new project, EVERY TIME. Prevents a lot of timeouts and failed transfers.
  • nick_b wrote: »
    Problem1:

    In Netlinx studio help one read DEVICE_WAKE(device, mode) in the Netlinx code to wake a suspended device.

    Got a compile error "symbol Normal_wake not declared" ??? in line :
    DEVICE_WAKE (DEVICE, NORMAL_WAKE)

    Problem 2:

    Can not send the TP4 file. Now with zigbee pro we can send the TP file with zigbee or is it still the old USB ??

    1. You need an updated copy of NetLinx.axi in your c:\program files\common files\amxshare\axis folder. Maybe you just need to install a new version of Studio? Is yours outdated? NORMAL_WAKE is declared in NetLinx.axi

    2. USB (and understanding how to use the Virtual NetLinx Master settings) is essential for loading the zigbee remotes.
  • nick_bnick_b Posts: 15
    Thanks

    Great reply. Thanks


    Netlinx build 3.20418
    AXI is version 1.52

    It is compiling ok on other desktop PC. So will check file on my laptop.


    Nick from The Netherlands
  • nick_bnick_b Posts: 15
    Device_wake It is not working at this moment for R4

    From the AXI file I have to copy the Define_library_function Device_wake into source program.
    From the AXI file the integer normal_wake =$03

    Now it will compile ok.

    But it is not working. Button_event [mio,61] will have the statement device_standby[mio,$01)

    But no standby. Anyone see the function wake and standby device working on R4??? It is not the display wake and sleep. Those are working

    Nick
Sign In or Register to comment.