Main > Software Forum
LED Animation Editor - question for all the LED-Wiz Devs...
RandyT:
--- Quote from: SavannahLion on July 26, 2007, 03:08:43 am ---I'll respect it if the following Q. is proprietary.
Is the chosen format a direct result of the communication with the controller? In other words, is the driver simply grabbing the text command and passing them on to the controller or is the driver repacking (or compiling it as it were) into some controller specific language?
--- End quote ---
There is a simple protocol, but the data format of the SBA and PBA commands is very similar to what is sent to the hardware, minus some padding. That's why the documentation for the OCX labels those commands as "Most Efficient" They require very little processing before being sent. Even though the parser accepts other commands for the sake of simplicity, SBA and PBA are always recommended for animations, and even then, they should only be sent when not redundant.
RandyT
headkaze:
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.
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.
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.
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?
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.
EDIT: Sorry I missed Randy's paragraph about changing to using Window captions. That is a much better way to do it. Check out how Mame's output system works or window messages (like WM_USER + x) that would work too I guess.
youki:
You should read that headkaze :
http://www.ibm.com/developerworks/xml/library/x-sbxml.html
Havok:
--- Quote from: youki on July 26, 2007, 07:48:24 am ---You should read that headkaze :
http://www.ibm.com/developerworks/xml/library/x-sbxml.html
--- End quote ---
Interesting read. Does Grok translate in French?
:D
youki:
--- Quote from: Havok on July 26, 2007, 08:54:10 am ---
Interesting read. Does Grok translate in French?
:D
--- End quote ---
I think it translates something like "analyser afin de découvrir le sens " (analyse in order to discover the meaning) .. "essayer de comprendre" (try to understand).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version