Please login or register.

Login with username, password and session length

Author Topic: CM19A and CM15a Buffer  (Read 8570 times)

macrobob

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 46
CM19A and CM15a Buffer
« on: November 05, 2010, 09:29:14 AM »

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.
Logged

ErikP

  • Guest
Re: CM19A and CM15a Buffer
« Reply #1 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.
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: CM19A and CM15a Buffer
« Reply #2 on: November 30, 2010, 09:25:43 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.   :'
 >!
Logged
-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

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: CM19A and CM15a Buffer
« Reply #3 on: December 01, 2010, 09:59:33 AM »

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?
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: CM19A and CM15a Buffer
« Reply #4 on: December 01, 2010, 09:09:13 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.
 >!
« Last Edit: December 01, 2010, 09:10:58 PM by -Bill- (of wgjohns.com) »
Logged
-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

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: CM19A and CM15a Buffer
« Reply #5 on: December 02, 2010, 10:55:22 AM »

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.
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: CM19A and CM15a Buffer
« Reply #6 on: December 02, 2010, 09:08:52 PM »

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.
 >!
Logged
-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!
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.