Two identical NX-3200s, one of them ignores Device [0:1] Online event
fogled@mizzou
Posts: 549
OK peeps, getting really, really frustrated with the project I'm working on. This is related to the posts I've been making in the RMS sub-forum, but I'm pretty sure this has nothing to do with RMS.
I originally had one controller controlling 7 classrooms. It was working beautifully. After connecting 6 more room's worth of devices (SDX, DX-RX, and MST-701), I suddenly could no longer upload my program to the controller. I keep getting "Insufficient memory for transfer" errors. I figured it was the RMS SDK modules eating up all the memory in my controller after the additional devices came online, so I set about setting up a 2nd controller as a test and to control the 2nd set of rooms.
I duplicated my entire project folder and renamed all my files in that with a "2" in the name (didn't rename any SDK files) so I wouldn't get confused with that, then built a new system with the "2" file names, updated include statments to use "2" files, and changed the "status" flags which are supposed to tel the controller whether a room and it's devices are online and should be connected to or not in the "2" files. Otherwise, the two programs are identical. I also reconfigured the SDX, DX-RX, and touchpanels to point to Controller 2.
In the new controller, all the devices (SDX, DX-RX, and touchpanels) are connecting to the new controller OK. I can look at my Debug and see the right status flags are set in each controller to connect to the appropriate devices. But the controller never executes any code inside the ONLINE tree of the master. Code in next post...
I originally had one controller controlling 7 classrooms. It was working beautifully. After connecting 6 more room's worth of devices (SDX, DX-RX, and MST-701), I suddenly could no longer upload my program to the controller. I keep getting "Insufficient memory for transfer" errors. I figured it was the RMS SDK modules eating up all the memory in my controller after the additional devices came online, so I set about setting up a 2nd controller as a test and to control the 2nd set of rooms.
I duplicated my entire project folder and renamed all my files in that with a "2" in the name (didn't rename any SDK files) so I wouldn't get confused with that, then built a new system with the "2" file names, updated include statments to use "2" files, and changed the "status" flags which are supposed to tel the controller whether a room and it's devices are online and should be connected to or not in the "2" files. Otherwise, the two programs are identical. I also reconfigured the SDX, DX-RX, and touchpanels to point to Controller 2.
In the new controller, all the devices (SDX, DX-RX, and touchpanels) are connecting to the new controller OK. I can look at my Debug and see the right status flags are set in each controller to connect to the appropriate devices. But the controller never executes any code inside the ONLINE tree of the master. Code in next post...
0
Comments
I should be able to move Controller 1's code to a different controller this afternoon to push that issue further forward.
The behavior is similar: the code is running, some xxx_event[] is not firing - even when I strip it down to the barest "if event fires, send string 0 'ping' "
when I get to this point I usually have to go in and adjust the duet memory (even if there are no duet modules preset) The adjustment seems to unstick the master and it all starts working again.
I'm not even saying its a memory issue per se, It's just something to do with changing the settings. I have not seen the behavior on the new NXs.