Great article, Youki. Thanks for posting the link. It sums up quite accurately my thoughts on the matter.
I would never use the clipboard like that in any program. It is considered an irritation to the user. I think I remember a heated thread about it on here a little while ago so I don't want to go there again. But thats my opinion on the clipboard method you use.
Ok, we all get the idea that programmers neither need, nor like the clipboard method. Of course, none of the critics have been able to offer another method in which anyone, using virtually any program, can control the outputs of the LED-Wiz, or start the playback of an animation. The critics have, however, attempted to do things with it that it wasn't designed for, like brute forcing animations through that interface, only to further criticize it when it has difficulties. Many of my customers have used the clipboard interface and the comments from them relate to how convenient it is for simple control, not that it is "irritating".
Also, when you say you designed the format to make it easy for a VB6 programmer, what makes you think parsing xml is harder? With a library it's actually easier to parse than reading in a file line by line, splitting it up, converting it to integer values, then packing the bits into 8-bit bank numbers then sending them to the ocx or dll. The new format proposed is easier to parse for the beginner not harder.
First of all, one would need to learn how to use the library. There are millions of VB programmers and I'm not operating under the assumption that writing code that deals with XML is all of their "day jobs", or that it should be. Sure, if you deal with it on a regular basis, it's going to be easy for you. I look at assembly and think it is so simple anyone should be able to use it, but if that were the case there would be no high level languages like C and BASIC. It's all about what one is used to.
As for packing bits into 8-bit numbers, you'll need to do that anyway in order to use the hardware, so it's not part of the issue at hand. And anything you get back from the XML schema you showed will need to be equally massaged for the hardware...essentially into the current format!
I think programmers get in these mind sets about old formats and don't like changing to the new ones. They are the new format because they are better. All this drama about speed, filesize and all that dosn't really carry water with me. And it's not change for the sake of change.
And likewise, new programmers get wrapped up in "what they know, or simply theorize to be improvements" and tend to ignore the basic fundamentals which dictate selecting the right tool for the job. If it doesn't bring new capability to the table, it's simply re-packaging based on preference and that is "change for the sake of change".
If Randy had a decent animation editor to offer with the LEDWiz there would be no discussion about the format of lwa files. Or if he (God forbid) paid a programmer like arzoo to write the software. But there is no editor, so since arzoo is the pioneer of that we might as well design a new format. From memory Randy's animation editor was incomplete and doesn't read back lwa files?
Veiled insults aside, there is an editor, and while it does have it's problems, it allows one to easily create
optimized animations. It was used to create the
very first animation ever witnessed by anyone when the hardware was still in testing phases, and has been used by virtually everyone since, until I think MikeQ and youki made theirs as part of their respective frontends (PowerMAME and AtomicFE.) However, if you choose to believe that this is the first time an editor has been written and that bestows some special consideration, then that's up to you. I've already stated that the best approach should be for each individual to do what makes the most sense for their applications and look at the plugin / Import / Export / Conversion utility examples. I plan to add just such functionality to my editor so that I, or any third party, can make a plug-in to allow simple exporting to anything they like. I'm not sure what more you would like me to do. But I can't do something I don't feel is in the best interests of the device
simply because you want it to be that way.I would like to know if anyone is using the software Randy offers on the GGG site? Or do people use the LEDWiz SDK MikeQ and I developed? That contains example source in 5 languages including VB6.
You can ask that question here, but you will not get an accurate picture of the needs of all users. The LED-Wiz is an output controller with enhanced PWM capabilities and pulse effects for lighting. Many of the people who find the current features useful don't come to this site, let alone this forum.
I missed Randy's paragraph about changing to using Window captions. That is a much better way to do it.
And I agree. I was quite impressed at the speed and low overhead of using this method. It didn't appear to have difficulties even when used to play very fast animations. Something the clipboard method was neither designed for, nor truly capable of (which is why there is an animation playback command with looping capabilities as part of the "official" LED-Wiz routines.) And that's why I will be offering it as an
option.
RandyT