Re: Design Problem




"J French" <erewhon@xxxxxxxxxx> schrieb im Newsbeitrag
news:43e72834.72503834@xxxxxxxxxxxxxxxxxxxxxxx
On Mon, 6 Feb 2006 16:44:37 +1100, "Michael C"
<mculley@xxxxxxxxxxxxxxxxxxxxxx> wrote:

<snip>

Larry hit the mark - a bit more explanation is in order, but until then
I
guess DoEvents and sleep is what you are after?

I'm guessing instructions are grouped into tasks, so while he needs to
pause
task 1 he can start processing task 2.

My hunch is that there is a bunch of machines on the other end of the
COM Port, and that the 'instructions' contain a destination flag
- one machine is given a task
- while it is busy, he wants to send a task to another machine

If that is the case, then I think I can see a solution
- but ... more info would be helpful


We're coming closer.

What I have is a Building Management System (BMS) on the other side of the
COM-Port. The tasks are instructions to the BMS.

The tasks are i.e.: open a window, wait x seconds, close it again. So far
for the pause.

Now, while the window is open, i need to be able to switch some lights. That
is why the tasks need to be able to overlap.

During the whole thing, I need to listen for status messages and button
pushes that are reported through the same COM port.

Does that help?

Thanks

Ole


.


Loading