Re: [BLACKBOX] Still kicking the BlackBox tires. A question for the group about annoyances.

From: [at]} <Wojtek>
Date: Fri, 9 Mar 2012 22:40:27 -0500

----boundary-LibPST-iamunique-354043648_-_-
Content-type: text/plain

Lon:

I have one observation to share with you. It is not an "annoyance" by any
means. It works as designed, but it sometimes gets in the way. Namely, BB
is a user-mode IDE and operating environment in one. It works in the user
space and it is hard to get it any deeper into the Windows OS. Granted, it
has a rich Windows API that allows you to call the OS functions, what some
people here do. I do not, because till now I was interfacing with the
Windows guts via DLLs. My problem is that the BB works off the GUI clock
which is up to 100 Hz. (Slower by default, but you can change a const
somewhere, recompile the system, and the clock freq can be increased to
100 Hz).

Calling the inner loop every 10 ms is fine for most apps, but not for all.
For example, the USB heartbeat is 1 ms. It means that you either have to
buffer your data inside the USB device, or you have to use LibUSB to do
your work under the hood, or both. And this means C.

I am not expecting BB to become a hard real time system. It is probably
not possible. It is just an observation that BB is great for most things
concerning the GUI, but it has some limitations when it comes to the data
acquisition.

We are actually using BB for DAQ and in all likelihood we will continue
using it. One has to get used to buffering and to using C for low-level
stuff.

It would be great if low-level Windows functionality could be programmed
in Component Pascal, but this probaly has to wait till Windows Release 999
or so.

Just my 2 cents.

W.

> Having groveled about a bit more with Blackbox, I'm still convinced it's a
> thing
> worth studying more. I have run into no killer annoyances, but have made
> a
> list of things I'd like to see tweaked or enhanced.
>
> Rather than list those now, I'd like to ask the much more experienced
> (essentially everyone else on this list, unless I miss my guess)
> what things annoy you during development that you've not found relatively
> easy solutions to.
>
> I've read DragonCity, so there's one source of problems, but would like to
> hear
> of others. The email archive stuff posted a while back was by no
> means complete;
> I was reading very early stuff going back to the 1990s.
>
> I'm thinking of doing a projet to remedy at least one annoyance as a way
> of
> learning more than "Hello Wolrd" tied to widgets.
>
> Thanks in advance.
>
> Lon
>
>
> ----
> 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-354043648_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIExvbjpccGFyDQpccGFyDQpJIGhhdmUgb25lIG9i
c2VydmF0aW9uIHRvIHNoYXJlIHdpdGggeW91LiBJdCBpcyBub3QgYW4gImFubm95YW5jZSIgYnkg
YW55XHBhcg0KbWVhbnMuIEl0IHdvcmtzIGFzIGRlc2lnbmVkLCBidXQgaXQgc29tZXRpbWVzIGdl
dHMgaW4gdGhlIHdheS4gTmFtZWx5LCBCQlxwYXINCmlzIGEgdXNlci1tb2RlIElERSBhbmQgb3Bl
cmF0aW5nIGVudmlyb25tZW50IGluIG9uZS4gSXQgd29ya3MgaW4gdGhlIHVzZXJccGFyDQpzcGFj
ZSBhbmQgaXQgaXMgaGFyZCB0byBnZXQgaXQgYW55IGRlZXBlciBpbnRvIHRoZSBXaW5kb3dzIE9T
LiBHcmFudGVkLCBpdFxwYXINCmhhcyBhIHJpY2ggV2luZG93cyBBUEkgdGhhdCBhbGxvd3MgeW91
IHRvIGNhbGwgdGhlIE9TIGZ1bmN0aW9ucywgd2hhdCBzb21lXHBhcg0KcGVvcGxlIGhlcmUgZG8u
IEkgZG8gbm90LCBiZWNhdXNlIHRpbGwgbm93IEkgd2FzIGludG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tXHBhcg0K
VG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JP
WCIgdG8gTElTVFNFUlZATElTVFMuT319AGckwAQgKgAoAKhETA=
----boundary-LibPST-iamunique-354043648_-_---
Received on Sat Mar 10 2012 - 04:40:27 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:07 UTC