LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DirectShow

Is there anyway to show DirectShow files/panels on the LabVIEW front panel? I've tried opening the DLLs for the library with Automation references and tried to find a control to use for the ActiveX panel on the front panel but I can't find any suitable. Is this possible? Am I missing something? Or am I going to have to do this the extremely hard way? Thanks.
 
Gary
0 Kudos
Message 1 of 5
(3,757 Views)

I wanted to try to clarify my problem because I don't like the way it's worded (and I can't find out how to edit my previous post).

Using the GraphEdit application to create DirectShow/DirectX filters, I can select existing filters to build new ones. And once a filter is placed on the graph, I can access the property pages of the filter and alter the settings. These property settings are what I'd like to view on the front panel when appropriate (based on user input).

I can't find a suitable ActiveX Object to place in the ActiveX container. And If I do load the library to my DirectShow/DirectX filters into the "select class" dialog of the Automation reference I can't really do anything with them (not talking of my desired operations but more how to show the panels).

So is what I'm attempting to do possible? It seems like ActiveX is involved somewhere but there's another level obscuring direct access that I can't get around. Any suggestions? Thanks for any help or guidance.

Gary

0 Kudos
Message 2 of 5
(3,745 Views)
Hi Gary.

If I understand your question correctly, I think you can do what you'd like to by using property nodes and invoke nodes.  You can create these by right-clicking on the Automation Refnum, selecting Create, and then either property or method for the class that of the refnum.  Then you can wire controls to those nodes, which should appear on the front panel.

If that's not what you were looking for, it might help if you could describe "the big picture" of what you are wanting to accomplish with your application.
Lorielle P.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(3,726 Views)


 


@Lorielle P wrote:
Hi Gary.

If I understand your question correctly, I think you can do what you'd like to by using property nodes and invoke nodes.  You can create these by right-clicking on the Automation Refnum, selecting Create, and then either property or method for the class that of the refnum.  Then you can wire controls to those nodes, which should appear on the front panel.

If that's not what you were looking for, it might help if you could describe "the big picture" of what you are wanting to accomplish with your application.


Thanks for the reply but that's not what I'm after. Let me try to explain a bit more.

When building a DirectShow graph you insert various filters to get the desired effect. Once these filters are placed on the graph, you can right click them and bring up property and settings pages. These are what I ultimately want to see on my front panel. The straightforward way would be duplicate the panel in LabVIEW and collect the information that way. This is also the long and tedioius way.

The information on these panels is precisely the information I need for other parts of the program and save for exact duplication I can't get at this information.

What I'm hoping to accomplish is importing these property pages into LabVIEW through the ActiveX controls, since they are sorta based on ActiveX. The problem is that since they're DirectX/DirectShow it doesn't exactly translate.

0 Kudos
Message 4 of 5
(3,718 Views)
Hi Gary.  Thanks for clarifying what you are wanting to do.  The short answer is that the parameters available in the property and invoke nodes are the exposed features of the object that we can manipulate with LabVIEW.  If what you need is not there, then the object does not easily give LabVIEW access to those features and the long and tedious route may be relatively easy in comparison.
Lorielle P.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,698 Views)