KC wrote:Sorry it took so long to reply! Been moving.
No worries - moving's great fun! gives you a chance to clean up and organize stuff. 😉
KC wrote:The Event method is called whenever there is a change in the state of the channel values. With each call, the method receives the data for every channel that's being sent to that plugin.
so what constitutes a "change of state"? Is that any change of time slice, or only when a channel has changed value between one time slice to another? (I would presume the latter, just wanted to double check).
I'm working on a plugin that more effectively uses the serial bandwidth, to give a high max. channel count -- ie. only sending changed values rather than ALL channels, irrespective of if they've changed. This way, given an average sequence, you can control far more lights than you normally would... I'm guesstimating ~500 channels, at 115200, at 25ms. Hopefully. 🙂
Thanks all!
Cheers,
Michael
sallz0r wrote:I'm working on a plugin that more effectively uses the serial bandwidth, to give a high max. channel count -- ie. only sending changed values rather than ALL channels, irrespective of if they've changed. This way, given an average sequence, you can control far more lights than you normally would... I'm guesstimating ~500 channels, at 115200, at 25ms. Hopefully.
Not to discourage innovation, but some questions:
1) Wouldn't your idea fail to perform correctly each time you wanted to change more channels than the baud rate could handle? Seems to me that someone trying to use a large channel count of ~500 channels (at 115200 and 25ms) at some point might want to change over 288 at once.
2) To make this work, wouldn't each channel need to be individually addressable? What hardware have you developed to do that? Wouldn't you lose some of the advantage you gain with your new plug-in by having to also send channel addresses also?
RavingLunatic wrote:Not to discourage innovation, but some questions:1) Wouldn't your idea fail to perform correctly each time you wanted to change more channels than the baud rate could handle? Seems to me that someone trying to use a large channel count of ~500 channels (at 115200 and 25ms) at some point might want to change over 288 at once.
Yes, exactly. Ideally, it wouldn't matter if they wanted to do that, it would just queue the extra changes. If it can only handle 288 changes per 25ms time slice (in reality, it's only about 240, I think) then any more than that will just be "queued" until the next 25ms time slice. If you're permanently changing more than 250 channels *every* 25ms, then it won't work; at least, not without a great deal of lag. Is that a problem? I don't think so. It doesn't make it any *worse* than (what I assume is) the standard approach at the moment, and instead applies a bit of dumb intelligence to minimize the amount of data that's being transmitted. This should, allow more channels with a fixed amount of bandwidth considering typical usage cases.
RavingLunatic wrote:2) To make this work, wouldn't each channel need to be individually addressable? What hardware have you developed to do that? Wouldn't you lose some of the advantage you gain with your new plug-in by having to also send channel addresses also?
Yep, which is why it's ~240 channels instead of 288 maximum per time slice. I haven't decided on the exact data format yet, but a bit of simple logic on the micro on the other end will decode the addressing structure, and make optimal use of bandwidth.
Thanks for the questions; I appreciate what you're asking, and if you want more info please ask. At the moment, I'm more concerned about the electrical and environmental aspects of it, as I'm an embedded/digital developer by trade, so that all comes naturally, but the other stuff (like if I'm going to be able to successfully run 115200 over RS485 in my environment) is what concerns me most. We'll soon see! 🙂
Cheers all,
Michael
Since many of us are running 512 channels at 25ms using 250,000 (DMX) over RS485 why would that be a challenge? Unless you are in a abnormally bad enviroment like a power station yard. Of course this would have it's benifits also, No power problems. LOL
RJ
also coulnt you simply break the display up into several DMX universes each with 256. Wouldnt that resolve the issue.

