Re: Inofficial BlackBox 2.0

From: Douglas G. Danforth <"Douglas>
Date: Sun, 18 Nov 2007 23:57:44 -0800

----boundary-LibPST-iamunique-1152627392_-_- Content-type: text/plain Wojtek is correct in saying the tasking system is really only about 20 Hz. That is, using either Services.now or Services.immediately one finds that the action.Do command is called after about 50 ticks where each tick is about 1 millisecond. To get faster device control one would need to build their own tasking system. One can get down to the clock rate of your machine just running raw BlackBox code but doing this correctly and coming up to breath is problematic. Perhaps Marco has done this? -Doug Wojtek Skulski wrote: Marco: I am not sure it is a good idea to branch off a new version of BlackBox competing for manpower and resorces with the main branch. Anyone who is attracted to your branch will face an incompatibility problem. It is therefore not realistic to expect the community to support your effort. Sorry for expressing a discouraging opinion. On the other hand, looking at your website I am thrilled to see a phrase "Truly Cooperative Real Multi Tasking". I have not looked into the details, but I know from experience that the present tasking system is an elegant, but somewhat undercooked part of the official BlackBox. I have two major problems with the current official BlackBox tasking system: 1) The tasking system is activated with only 20 Hz frequency, which can be improved to about 100 Hz by recompiling the BlackBox. It is a bit slow, compared with, for example, USB-2, where the USB frames are acquired every millisecond. I have been able to process data from a slow A/D converter with BlackBox, but a somewhat faster A/D converter is presenting a problem. It would be good if the tasking system was called at higher frequency. I know that Dough Danforth looked into using a Windows 1-ms timer, but I am not sure, how far he went in this direction. 2) The tasking system freezes when one depresses a mouse button. It is plain not acceptable to stop the data acquisition when using the mouse. I do not know if you have addressed these problems. I am hoping that your solutions, if they are sound, will find a way into the official release. I am advocating that you join Oberon Microsystems this way or another and that both branches are merged into one. Thank you for your effort! Wojtek On Sat, 17 Nov 2007, Marco Ciot wrote: That is my branch of BlackBox where I have extended many things and done so in an elegant fashion. If you'd like to have a look at it: http://blackbox.ciot.org I had some time ago considered opening a separate mailing list in order to push BB 2.0. I didn't do it until now due to lack of interest. Best regards Marco ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy ----boundary-LibPST-iamunique-1152627392_-_- Content-type: application/rtf Content-transfer-encoding: base64 Content-Disposition: attachment; filename="rtf-body.rtf" e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbWh0bWwxIFxkZWZmMHtcZm9udHRibA0Ke1xmMFxm c3dpc3NcZmNoYXJzZXQwIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYy XGZuaWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIg TmV3O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1 O30NClx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjQgDQp7XCpcaHRtbHRhZzI0MyA8 IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIEhUTUwgNC4wMSBUcmFuc2l0aW9uYWwv L0VOIj59DQp7XCpcaHRtbHRhZzMgXHBhciB9DQp7XCpcaHRtbHRhZzE5IDxodG1sPn0NCntcKlxo dG1sdGFnMiBccGFyIH0NCntcKlxodG1sdGFnMzQgPGhlYWQ+fQ0Ke1wqXGh0bWx0YWcxIFxwYXIg fQ0Ke1wqXGh0bWx0YWcyNDEgICB9DQp7XCpcaHRtbHRhZzEgXHBhciB9DQp7XCpcaHRtbHRhZzQx IDwvaGVhZD59DQp7XCpcaHRtbHRhZzIgXHBhciB9DQp7XCpcaHRtbHRhZzUwIDxib2R5IGJnY29s b3I9IiNmZmZmZmYiIHRleHQ9IiMwMDAwMDAiPn1caHRtbHJ0ZiBcdmlld2tpbmQ1DQp7XCpcYmFj a2dyb3VuZCB7XHNocHtcKlxzaHBpbnN0e1xzcHtcc24gZmlsbENvbG9yfXtcc3YgMTY3NzcyMTV9 fXtcc3B7XHNuIGZGaWxsZWR9e1xzdiAxfX19fX1caHRtbHJ0Z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