X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: iwonder on December 22, 2007, 01:48:16 PM

Title: Cannot Record Video with SDK
Post by: iwonder 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.
Title: Re: Cannot Record Video with SDK
Post by: Tuicemen 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 ;)
Title: Re: Cannot Record Video with SDK
Post by: iwonder 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!
Title: Re: Cannot Record Video with SDK
Post by: Tuicemen on December 23, 2007, 01:40:12 PM
Glade you found that tidbit Helpful! ;) ;) ;) :D