Please login or register.

Login with username, password and session length

Author Topic: Visual Basic .NET  (Read 12894 times)

john t.

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 27
Visual Basic .NET
« on: October 15, 2005, 06:25:43 PM »

Anyone writtem any code (love to see a
sample) in VB .NET for the CM15A using the SDK?

Particularly interested monitoring motion
detectors, etc.

John Tarvin
Logged

john t.

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 27
Re: Visual Basic .NET
« Reply #1 on: October 16, 2005, 10:32:11 PM »

Finally took time to install the X10 SDK. It
has a vbscripting dll with it. It deals with
the low level communitcation through the USB
port.

You can send rf and plc commands, and you can
receive rf and plc codes. That's about all
you can do. It offers very rudimentary
capability.

For you knowledgeable vb .net programmers,
after installing the SDK, you create a new vb
project and add the ActiveHome Library
reference to your project. This gives you
access to the send and receive methods.

I wrote an example program that sends an on,
off, and dim to 50% command on A1 and will
monitor and list received plc and rf
commands. From here, you have to roll your
own. The example program is heavily commented
and using the vbscript dll is pretty simple.
You can write the next ActiveHome Pro!

In the SDK help (.chm) file, there is an RF
command reference. There are rf commands for
the Vanguard camera and the Ninja pan/tilt.

No way to post the program on this forum, but
you can download it at the anonymous ftp site
ftp://ftp.hot-spot.com/pub/printing

It makes me appreciate what went into
developing ActiveHome Pro.

Have FUN!

John T.
Logged

muhammad rashed nadeem

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: Visual Basic .NET
« Reply #2 on: November 17, 2005, 06:30:55 AM »

Me too Looking for Same
Logged

john t.

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 27
Re: Visual Basic .NET
« Reply #3 on: November 17, 2005, 12:14:26 PM »

Muhammed,

If you haven't done it, feel free to go to
my ftp site referenced in my earlier post.
The VB .NET program example is pretty
complete as far as using the rather simple
instructions available in the SDK.

Good luck!!
John
Logged
 

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