X10 Community Forum
🖥️ActiveHome Pro => SDK => Topic started 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.
-
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:
ActiveHomeObj.SendAction("sendplc", "b2 on")
MsgBox("B2 On...")
ActiveHomeObj.SendAction("sendrf", b2, "record", "1", "1")
MsgBox("Recording...")
Hope this helps!
Cheers ;)
-
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!
-
Glade you found that tidbit Helpful! ;) ;) ;) :D