Please login or register.

Login with username, password and session length

Author Topic: Cannot Record Video with SDK  (Read 6344 times)

iwonder

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 6
Cannot Record Video with SDK
« on: December 22, 2007, 01:48:16 PM »

I have been attempting to record video images from cameras using the SDK.  This is working fine with the macros and AHP, but I would like to do it with code.

I use vb.net 2003 with the following:

            ActiveHomeObj.SendAction("sendplc", "b2 on")
            MsgBox("B2 On...")
            ActiveHomeObj.SendAction("sendrf", "record", "1", "1")
            MsgBox("Recording...")

and get an error message on the sendrf command.

Has anyone else run into this?

Seems like ithis really should be a relatively simple operation.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Cannot Record Video with SDK
« Reply #1 on: December 22, 2007, 04:56:57 PM »

Although I haven't played with Video and the SDK you still have to send the address with a RF signal! So I assume the  the code would be:
         
Code: [Select]
  ActiveHomeObj.SendAction("sendplc", "b2 on")
            MsgBox("B2 On...")
            ActiveHomeObj.SendAction("sendrf", b2, "record", "1", "1")
            MsgBox("Recording...")
Hope this helps!
Cheers ;)
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

iwonder

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 6
Re: Cannot Record Video with SDK
« Reply #2 on: December 23, 2007, 11:38:17 AM »

Tuicemen,

You are right!  Don't know why I didn't see that.

The sendrf command is actualy "b2 record".

Thanks for the kick start!
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Cannot Record Video with SDK
« Reply #3 on: December 23, 2007, 01:40:12 PM »

Glade you found that tidbit Helpful! ;) ;) ;) :D
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
 

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