How to control and display video from IP camera using ActiveX control over Internet.

Hello,
I need to control my IP cameras over the internet. I need to log into the cameras and then display the video.  There's an ActiveX control registered on the computer and works fine with IE to access and control the cameras. Controlling the cameras using IE works fairly well, but there are some quirks that I'd like to eliminate by using my own custom code.
Has anyone created a vi that controls a Foscam FI8905W over the Internet? I’ve attempted, but I keep getting a catastrophic failure when I try to call ManagementConnect Method in the DVM_IPCam2 ActiveX Control Module V1.0. I'm not sure whether I need to establish an IP connection with the cameras first, or allow the ActiveX control to establish it for me.
Some example code would be greatly appreciated. Running LabVIEW 2011 on a Win7 32bit.  Even some code used to control a similar device using ActiveX over Internet would be helpful.

I have an example vi for interfacing to the foscam activex.
I plan on using mouse click events within the activex window to trigger the PT function.
I only have the basic up/down/right/left directions and not the down-right/down-left/up-right/up-left in the enum.  You can load the camera's web page and view the source to see the Java script code that uses the activex control.  There are definitions for the other directions.
I had to mark the control as "Disabled" to keep click events from going to the activex control.  If I double click the control, it goes full screen.  If I then click on it to get out of full screen mode the video never returns or returns to the wrong spot in the VI.
Attachments:
Foscam Demo.vi ‏24 KB

Similar Messages

  • Help, how to open and display blobs from tables

    Dear all,
    I am trying to store ms-word files on a table using a blob column.
    Does anyone how to open the files and display them from a form using 9iAS?
    Thank you.
    Carlos.

    And there may be, but you won't likely find that here. Do some time searching Google and maybe you'll find code that someone was nice enough to make freely available, although I wouldn't count on it. Were i a programmer and took the time to read those docs and write the code, I'd want to be paid for my time. But there are a lot of programmers who swear by freeware! You may get lucky.

  • I can't import and view videos from a camera.

    I can't import and view videos from a camera.  Even if I open the file and copy the .avi files onto the hard drive.  I have tried iMovie, Quicktime, and Flip player.  Flip player will open it but I only get the audio,  Quicktime freezes, and iPhoto tries to automatically import only to then error saying the files are not compatible.

    Hello Hese,
    try the following:
    1. delete preferences (com.apple.iMovie.plist) and empty the trash
    2. repair disc permissions with Disc Utility and reboot your mac
    3. use Diskwarrior or MacJanitor for disc clean-up
    4. disconnect any other firewire devices
    5. take off any non-system desktop pictures
    If nothing else helps, you might want to consider resetting your Firewire port(s)
    How to reset your Firewire ports:
    http://discussions.apple.com/thread.jspa?messageID=2001817&#2001817
    hope this helps
    mish

  • Acquire and Displaying Video from D-Link DCS-930L

    Hello! I want to know about acquiring video from the camera as I have mentioned in the topic, but I don,t have much experience about IMAQ related apps.The idea behind the whole concept is to display a video and then through some kind of shared variable it is displayed on other PC connected via ethernet cable.

    -First you need to know the need and difference between the software available in Labview like Vision development Module and Vision Acquisition particularly.
    http://digital.ni.com/public.nsf/allkb/45A5682F377996BB862572B50072787F
    -Then know the difference between IMAQ and IMAQ dx devices.
    -Check in Measurement & Automation Explorer for your device and do quick test setup of Grab and snap then go ahead for programming in Labview.
    -Now start using simple Grab and Acquire examples provided in the Labview Examples.
    -If you still found difficulty then post your query.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How to acquire and display data from labview to excel simultaneo​usly

    hello,
    I am using the NI-DAQ to measure the falling edges of a clock and display them into a table. What I need is to display these data in a table in excel while the program is running. In addition, when I receive a pulse from an external clock, for which I have created a digital channell, the data must be logged in a different column. In other words, every time I receive a pulse the data must be stored in the adjacent column in excel.

    Hello Evangelos,
    As far as I know and have experienced, it is not possible to access a spreadsheet file (or any file, for that matter) by two programs at the same time, you will get an error.
    Also, a couple of observations on your code:
    A constant wired to a case selector of a case structure makes no sense as the false case will never be executed.
    Move the DAQmx Read from your Digital Input task into the while loop, as the DAQmx Read will only read once and the wire won’t get information in or out of a while loop as long as the while loop is iterating.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • How to decode and display jpeg from a bytes stream ?

    Hello.
    I am new to Flex and got stuck on something that I assume has an easy solution.
    I have an RIA application in which I want to display a jpeg image. this image was
    sent on a Web Service message,  as an array of bytes (I just read the jpeg file as
    is and send it to the web application).
    I couldn't figure out a way to decode and display this image at the RIA, using an apropriate component. (Image ?)
    I have seen a few examples where a jpg is loaded from a web server using a url in
    which it's avaliable, but I don't think this is much help to me...
    Your help/example apreciated.

    Thanks.
    I assume you mean passing the bytesArray to Image.load() ?
    Anyway, that's what I did and it worked fine.
    Now I am facing the same issue with playing sounds, which are available on bytesArray.
    I tried to pass the mp3 bytes to the Sound.load(), but it doesn't work, becuase it tries
    to cast it to a URL. do you know by any chance  whether I can achieve that somehow ?
    (I could use prety much any other sound format, if it makes a difference)
    Thanks again.

  • How do I take a picture from usb camera using the Windows Image Acquisition Automation activex control in LabWindows?

    Hy!
    I have a faculty project in wich I
    have to acquire image from a webcam in Labwindows
    8.1 and to take a picture and save it in a file and to display it.I managed to acquire
    image from the webcam using the WIA automation activex controll but I
    haven't been able to take a picture and save it and display it .So i ask of you to
    post a tutorial or something that would help me to take a picture and save it and display it using the WIA automation activex controll in
    LabWindows.
    OS: Windows XP Professional X86
    Please help me!!

    Unfortunetly I do not have any experience with Activex.This is one of the codes I tried so far:#include "wiaaut.h"
    #include <cvirte.h>        
    #include <userint.h>
    #include "camm.h"
    static int panelHandle;
       int cid,eroare;
       CAObjHandle objh;
       WIAObj_IImageFile result;
       ERRORINFO eror;
    int main (int argc, char *argv[])
        if (InitCVIRTE (0, argv, 0) == 0)
            return -1;    /* out of memory */
        if ((panelHandle = LoadPanel (0, "camm.uir", PANEL)) < 0)
            return -1;
        DisplayPanel (panelHandle);
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
    int CVICALLBACK OkCallback (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
               WIA_NewIVideoPreview(panelHandle,"Video",45,45,&cid,&eroare);
               GetObjHandleFromActiveXCtrl(panelHandle,cid,&objh) ;
                break;
        return 0;
    int CVICALLBACK QuitCallback (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                QuitUserInterface (0);
                break;
        return 0;
    int CVICALLBACK pozaCallback (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
               WIA_NewICommonDialog(panelHandle,"poza",45,400,&cid,&eroare);
               WIA_ICommonDialogShowAcquireImage(objh,&eror,2,1,131072,"{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}",VTRUE,VTRUE,VTRUE,&result);
                break;
        return 0;

  • How to store and display Response from REST Service

    Hi,
    My WADL has defined the response that my REST service returns back as below :
    <object name="Get_Root">
            <property name="RequestId" type="number" />
            <property name="Name" type="string" />
            <property name="fromPlace" type="string" />
            <property name="toPlace" type="string" />
            <property name="fromDate" type="string" />
            <property name="toDate" type="string" />
    </object>
    I want to store this response; response is a single entry of the above type and not a collection (I am making the request on a button click) and then display it on the screen in multiple labels.
    How can I do this? Will I have to use a collection and a gallery, even though I have a single response?
    Thanks,
    Pragya

    Okay.. got it. So MyRestData has a Get function taking some n arguments and it responds back with an object of the type I had mentioned before.
    From what I understood, I have to write the below code for each label
    MyRestData!Get(.....)!Name
    MyRestData!Get(.....)!fromPlace
    MyRestData!Get(.....)!toPlace ...and so on
    Wouldn't that translate to different REST calls? Is there a way to get and store the entire response object
    in the app and access each of its properties/subelements locally?
    Also when you wrote the below before
    Text: "The name is: " &  MyRestData!Get_Root!Name
    it seems that I can access the response object Get_Root using MyRestData. This is not the case for me. MyRestData only lets me access the Get function using "!", and not the response object in any way.
    Thanks for your help!

  • How to retrieve and display image from database in a web page

    Hi all;
    I have been trying this for some time now. I have found some tutorials so far but none of them addresses my concern. Here it is:
    I have built a web application that can connect to an Oracle DB.
    I have a table called "employee", where I record any employee details, among which the employee picture. I stored the pictures and the finger prints using "Oracle sql developper" as blob type.
    How can i retrieve and view all these information when i run the application?
    I can easily retrieve all other types of value, but the image(BLOB type) has been a nightmare for me.
    HELP PLEASE.

    morgalr wrote:
    I believe your Binary Large Obejct will come back as an array of int, and you'll need to use BufferedImage it's associated API to get it to a viewable image configuration.I don't think BufferedImage immediately solves the problem -- this is a web app, so I assume the image will be displayed using the HTML IMG tag.
    Solution: google. There are many example of how to do this. For example, any book on servlets will have an example of dishing up a dynamic image.

  • How to save and restore Music from iTunes without using library ?

    Could yous help me please ?
    I use an 60 giga iPod I started to fill it with my CDs without using library, just directly in it, I delete the Music in the library after record to save place on may computer. I have nearly 7 megas of Music stored. To fill 60 Giga it wille takes at least 6 months on my rest time. At the end if i loose my iPod or if stolen or broken or if i want to buy a new iPod of 80 Giga for example to store more Music ? How can i save Music in my iPod on a Hard Disk or DVD and restore on it or on a new one ? Is it possible or not allowed by iTunes to avoid Music copie ?
    Thank you for your help....

    Frank31,
    Syncing music to the iPod is a one-way street, as discussed in this article:
    http://docs.info.apple.com/article.html?artnum=302155
    If you are concerned about using up your computer's hard drive for music, and are using iTunes 7, you might consider creating your library on an external drive if one is available.
    This article discusses creating an alternate iTunes library in another location, such as another drive:
    http://docs.info.apple.com/article.html?artnum=304447
    Thank you,
    Nathan C.

  • TS3899 When's ending videos from the camera via email, they go to the out box.  How do I successfully send them.  I used to be able to do so but not for some time.

    How do I send a video from the camera's video via email?  When trying to do so, they go to the out box.  Me email server is earthlink.  Any help will be appreciated.

    Final Cut is a separate, higher end video editor.  The pro version of iMovie.
    Give iPhoto a look at for creating the slideshow.  It's easy to assemble the photos in an album in iPhoto, put them in the order you want and then make a slideshow of them.  You can select from various themes and transitions between slides and add music from your iTunes library.
    When you have the slidshow as you want use the Export button at the bottom of the iPhoto window and export with Size = Medium or Large.
    Save the resulting Quicktime movie file in your Movies folder.
    Next, open iDVD, choose your theme and drag the QT movie file into the menu window being careful to avoid any drop zones.
    Then follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    The reason I suggest iPhoto is that I find it much easier to use than iMovie (except for the older iMovie 6 HD version).  Personal preferences showing here.

  • How to transfer my video from my camera to my ipad 2

    How can I transfer my video from my camera to my ipad 2, it seems to never take when I transfer it, always says my ipad is not connected, but it is.

    Use the Camera Connection Kit
    http://support.apple.com/kb/HT4101
    http://i1224.photobucket.com/albums/ee374/Diavonex/1d0cb10d.jpg

  • Loading video from digi camera onto eMac

    I have a Casio Exilim digital camera. I plugged it into the USB and chose iPhote to run. So I imported all the pictures onto iPhoto but none of the video imported. How can I get the video from the camera onto my eMac? Thanks for the help!

    If you want to import videos from your digital camera frequently it might be an idea to upgrade to iLife '06 as iPhoto 6 supports this.
    Hope this helps.
    Stu

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

Maybe you are looking for

  • AT&T Lumia 920 - 2 Freezes in a few days maybe rel...

    Hello, I've been using my AT&T Lumia 920 for 8 days. Within the first week I have had 2 freezes. Both were while using Bluetooth, but that may be coincidental. I am not happy about these glitches as I was previously using an AT&T Lumia 900 since Apri

  • HP 6520 won't scan with wireless connection and new router

    My printer scanned fine before.  Got a new internet provider=new router and now I can't scan scan anymore.  The computer is connected wirelessly.  The computer says it cannot communicate with the scanner.  Same if I try from the printer front panel,

  • How do I sync photos from iPhone to 2nd Mac?

    Some time ago I synced my photos from my iPhone to my PowerMac G5 at the time.  However, that Mac has since crashed and I now have a Macbook Pro.  However, iPhone will not allow me to sync those same photos to the new Mac, since it's designed to only

  • How to create callable object which implements GP interface

    Hi experts ,                       I am very new to GP . I want to create a simple process , in which employee send an request to HR and then HR approves it. for this I am using two process and two callable object . I can create simple WD java projec

  • SQL Developer Data Modeler Viewer - domain datatypes

    I'm using the SQL Developer Data Modeler Viewer (that comes free with SQL Developer) to view a model that was created in Oracle SQL Developer Data Modeler (the chargeable product). The colums have all been defined using domain datatypes. I have an XM