Menu

DirectShow .NET and LabVIEW

Eugen Graf
2009-09-16
2012-10-29
  • Eugen Graf

    Eugen Graf - 2009-09-16

    Hi at all!

    I develop with LabVIEW, which is fully .NET compatible programming language.
    I downloded this Library and selected a .NET constructor, than selected the
    downloaded DLL and was able to see all of constructors and interfaces
    implemented in it.

    I want to programm a simple camera application, where I can select a (DShow
    compatible) video camera and show the pictures grabbed in real time.
    Furthermore I want to capture them in a file.

    I looked on some examples written for C#. There is the first step to list all
    available devices (DsDevice constructor). So I placed it on the Block
    Diagramm, no big problems, but it needs an input parameter named
    "IMoniker Mon". Sorry for a noob's question, but I don't really know
    where I can get it.

    I need to get started with this library, may anybody help me?

    Big thanks, my regards, LabVIEW

     
  • snarfle

    snarfle - 2009-09-17

    The DsDevice class has a static method that returns all the DsDevice
    instances. That's probably your best bet.

     
  • Eugen Graf

    Eugen Graf - 2009-09-17

    Thank You very much!
    Now I was able to list all Video Input Devices available in my system! I'm
    very happy for that.

    The programming with DS.NET seems to be more complex as I thouth. If you want,
    you can see how I did it

    So the next step will be to initialize one of the devices for capturing. I
    will keep you know if I did it.

    Regards, LabVIEW

    http://www.labviewportal.eu/viewtopic.php?p=11982#p11982

     

Log in to post a comment.