R4 No Feedback on Channels 401+
TurnipTruck
Posts: 1,485
in AMX Hardware
Greetings,
I am working on a system with R4s. I have some functions on buttons in the 401-440 range. The pushes occur and trigger the appropriate events, but no feedback is dislplayed on the buttons. I have tried manually turning the buttons on from "Control a Device" in studio. Lower button numbers can be illuminated, not these.
FWIW, The system is offsite, the R4 and gateway are in my office connected remotely. I don't see how that would make any difference though.
Any ideas? Thanks.
I am working on a system with R4s. I have some functions on buttons in the 401-440 range. The pushes occur and trigger the appropriate events, but no feedback is dislplayed on the buttons. I have tried manually turning the buttons on from "Control a Device" in studio. Lower button numbers can be illuminated, not these.
FWIW, The system is offsite, the R4 and gateway are in my office connected remotely. I don't see how that would make any difference though.
Any ideas? Thanks.
0
Comments
hope that helps.
e
PS: Oh, and happy 1K posts (belatedly)
Great insight! Thanks! Well worth the price of admission.
My understanding was that virtuals defaults were 255 channels and 8 levels while non virtual devices were 4000 channels and xx levels (I forgot).
Now what you're saying is that if a panel is offline we're screwed but that doesn't seem to be the case. I think the defaults are the defaults and aren't dependant on the UI informing the master of the number of channels or ports that need to be tracked. Of course I've been wrong many, many times but this is the first of heard of such a procedure.
The default for any NetLinx device (real or virtual) is 255 channels, 8 levels. Anything beyond these values should be set by the device itself (based on the pages that are loaded) or programmatically via the set_virtual_channel_count and set_virtual_level_count APIs. Beyond that, it gets a little complicated. For example, if a master receives an input channel state change from a device beyond the number of channels it thinks the device has, it will automatically increase the number of input channel database entries for that device whether it had received the ONLINE parametric information or not. The logic there is...the device must know how many channels it has or it wouldn't have turned that input channel on...so go ahead an increase the database. But output and feedback channel states don't work this way. You can't just ad-hoc try to turn on an output or feedback channel state for a channel number that hasn't been reported by the device or overridden via the set_virtual_channel_count API.
As an small addition, this optimization Shane is talking about is to allow devices to come online quickly. We found that some devices were sending so many message that it was taking 10-20 second just to come online. That was with a 100-base-T wired ethernet connection, on ZigBee it was much, much worse.
I'll take a look to make sure we are not being too aggressive in removing unecessary messages.
I was wondering where you were getting this info from since I've never heard it before but the new avatar explains it. I also see that everyone from AMX engineering is using it now which is a good idea, let's us know who's who and the added participiation from your department is much appreciated.
Unforetunately I now have to re-think every thing I thought I knew again. I hate when that happens.
I seem to remember posting a question to the forum a long time ago asking "that since real devices were created with 4000 channels (my belief at the time) wouldn't it make sense to set_virtual_ch_count to what was actually needed to reduce overhead" and if I recall the answer I recieved was that the extra overhead wasn't that big of a deal. I didn't get "don't worry mate" that's not how it works, you only get the amount used on the TP.
I'm sure there are many things we'll never understand and all we can do is keep trying.
The 255 channel limit is a default that goes back to the original Netlinx Master releases. It limit is actually part of the Axcess stuff, but in Axcess 255 is a hard limit, if you want more than 255 channels on an Axcess device, you have to have use multiple device numbers.
The optimization of startup messages to try and prevent unecessary traffic is a fairly new thing.