CM19A and CM15a Buffer

Started by macrobob, November 05, 2010, 09:29:14 AM

Previous topic - Next topic

macrobob

Is it possible to clear the buffer on a CM19A or CM15A? I am using a CM19A now and it seems to lag behind my commands, After my program quits sending commands, the CM19A is still broadcasting for up to 60 seconds sometimes.

ErikP

The CM19A has no internal memory.

Commands do queue up to be sent in the x10net service, but I don't believe we expose a way to flush that queue in the SDK.

-Bill- (of wgjohns.com)

Quote from: ErikP on November 15, 2010, 05:01:20 PM
The CM19A has no internal memory.

Commands do queue up to be sent in the x10net service, but I don't believe we expose a way to flush that queue in the SDK.

A way to flush the x10net service buffer would be very welcome, as well as a "transmission complete" and/or "buffer empty" event.

As long as we're wishing.   :'
>!
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

Noam

Quote from: -Bill- (of wgjohns.com) on November 30, 2010, 09:25:43 PM
A way to flush the x10net service buffer would be very welcome, as well as a "transmission complete" and/or "buffer empty" event.

Would stopping and restarting the x10nets service accomplish this?

-Bill- (of wgjohns.com)

#4
Quote from: Noam on December 01, 2010, 09:59:33 AM
Quote from: -Bill- (of wgjohns.com) on November 30, 2010, 09:25:43 PM
A way to flush the x10net service buffer would be very welcome, as well as a "transmission complete" and/or "buffer empty" event.

Would stopping and restarting the x10nets service accomplish this?

It would probably clear the buffer anyway.  Much in the same way a sledge hammer would probably work to turn off your computer.   rofl

There needs to be a less destructive way, methinks.
>!
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

Noam

Quote from: -Bill- (of wgjohns.com) on December 01, 2010, 09:09:13 PM
Quote from: Noam on December 01, 2010, 09:59:33 AM
Quote from: -Bill- (of wgjohns.com) on November 30, 2010, 09:25:43 PM
A way to flush the x10net service buffer would be very welcome, as well as a "transmission complete" and/or "buffer empty" event.

Would stopping and restarting the x10nets service accomplish this?

It would probably clear the buffer anyway.  Much in the same way a sledge hammer would probably work to turn off your computer.   rofl

There needs to be a less destructive way, methinks.
>!
You're right, Bill.
I was thinking of this as more of a one-off, troubleshooting type of action, not as a way to do it regularly when using the program.

-Bill- (of wgjohns.com)

Yeah.  That's the problem.  Sometimes the software just needs to be able to tell the service to clear the buffer without potentially crashing all other software that's depending on it.
>!
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

SMF spam blocked by CleanTalk