Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Hauppauge OCX

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hauppauge OCX


  • #2
    This is a snippet of the code I used with my Hauppauge PCITV and the Happauge .Ocx, to have a picture taken when someone rings at the front door.
    The image is modulated to a channel to be seen anywhere in the house.
    Set WinTV = CreateObject("hcwWinTVControl.hcwWinTVocx")
    WinTV.Enabled = True
    WinTV.Width = 640
    Wintv.Height = 480
    WinTV.AspectRatio = HcwTVAspectRatio_On

    'select TV chanel
    WinTV.Channel = 1
    WinTV.Frequency = 266.250
    WinTV.TuneFormat = &H4
    WinTV.VideoSourceByType = 0
    WinTV.TuneSource = 1
    WinTV.TuneCountry = 33
    WinTV.VideoFormat = &H2
    hs.waitsecs 1

    'takes the picture
    WinTV.SaveToDiskEx hs.GetAppPath &"\html\prov.jpg", 2, , &H40,70

    You will have to change most of the settings to match your country/tuner settings.

    The ocx is NOT working with Hauppauge PVR boards... (!)

    PIerre
    Visit zee e-maison : http://www.e-maison.com

    Comment

    Working...
    X