取消
显示结果 
搜索替代 
您的意思是: 

Activex Container

hi ,

i m interfacing Labview with "Aver media frame grabber card " that is being used with "Fath software".I m using Activex Container to access the properties and methods.
but most of the time it opens the preview window of the fath software and hangs up .
why does this happen ?
and also i have to insert the activex object again n again

i basically want to control certain features of the fath software through my LV program.
for eg.
properties like
1. open the preview window .
2. able to set video source to composite .
3. able to set the window size. etc......
Is this possible or do we require to make use of any other control.

So, when we are using activex control do we need to flush the buffer or something?(as a solution to why it keeps hanging the comp while executing.)



regards
tanisha
0 项奖励
1 条消息(共 17 条)
5,693 次查看
you may need to use the activex automation VIs instead of fronpanel activex container. The vis are located in the "Communication" pallete

-joe
0 项奖励
2 条消息(共 17 条)
5,681 次查看
hi ,

i have already tried that but according to the literature given "Automation open" is used for ActiveX server . n in case of ActiveX control one has to use ActiveX container.

tanisha
0 项奖励
3 条消息(共 17 条)
5,663 次查看
The documentation is a little misleading. The ActiveX container is for an ActiveX control that you want to have display its graphical interface in the LV front panel.

The ActiveX nodes (Open, Invoke, Property, etc) are for any COM object - it doesn't have to be a full blown ActiveX object. So if you just want to programatically interact with the frame grabber, you can just use the Automation Open, etc.
0 项奖励
4 条消息(共 17 条)
5,661 次查看
hi ,
i require to do both .i.e on my Vi the spesific windows of the other software will run .

i tried using automation open but it kept giving Null refnum error.
so i am a bit confused .

regards
tanisha .
0 项奖励
5 条消息(共 17 条)
5,646 次查看
just wanted to ask another question can we use Automation Open and Activex container in the same program to access the same activex Object.


tanisha
0 项奖励
6 条消息(共 17 条)
5,642 次查看
That's a good question, I never tried it myself. But why do you need it? When you use the activeX container its reference will be kept in memory until the application exits.

Does the activeX interface of the frame grabber come with any sample code? VB, c, etc? Studying such code helps a lot in this code.

-Joe
0 项奖励
7 条消息(共 17 条)
5,634 次查看
When you drop an ActiveX control on the front panel, you also get an automation reference on the diagram for it. From there you can use Invoke and Property nodes, just as if you had done an Automation Open.
0 项奖励
8 条消息(共 17 条)
5,630 次查看
hi ,

Thanks(though "THANKS" is a little late) everyone out there for all those informative inputs

now something more ,

According to my application i am accessing a video capture software thru labview. But unfortunately the quality of the video deteriorates in case of "Full Screen" and this happens in the original software itself. So, i compared the video capture software with another software .So, the other software while loading asks for DirectX 9.0 to be loaded .Now after going thru DirectX help i thought that if i can access DirectX thru my VI and incorporates its features in my VI and improve the quality of the video capture it will be good but unfortunately i m not able to do so.
what i m trying to do ,is it possible


tanisha
0 项奖励
9 条消息(共 17 条)
5,519 次查看
it will be very hard, next to impossible. Get a high quality capture card. I'm trying out the wintv product now (it has an activex control), and there are many others.

-Joe
0 项奖励
10 条消息(共 17 条)
5,512 次查看