10-06-2009 12:27 AM
how can i use activeX Control in labview?
please describe me step by step.
thanks.
10-06-2009 12:35 AM
hi...
can you tell specifically for what application you want to use activex??
for the start you can select activex container from .net and activex option from control pallete on front panel...then right click on it and select insert activex object..and select the application for which you want to use activex....
if you tell the application then using property and invoke nodes you can get the required result.
10-06-2009 07:16 AM
10-06-2009
09:08 AM
- last edited on
04-30-2025
02:52 PM
by
Content Cleaner
maji wrote:
how can i use activeX Control in labview?
please describe me step by step.
thanks.
Have you tried reading the manual or searching the site? ActiveX and LabVIEW.
08-22-2011 05:48 AM
how can i use activex control for invoking my laptop camera? i'm using hp mini.
08-22-2011 07:29 AM
@incisive wrote:
how can i use activex control for invoking my laptop camera? i'm using hp mini.
You need to start a new thread for this question.
08-23-2011 12:03 AM
Hi Incisive,
If you want to embed an ActiveX control, that would completely depend on whether your webcam can act as an ActiveX server for LabVIEW ActiveX controls to access it.
Depending on the webcam drivers (find driver documentation for your laptop's webcam), you may also be able to call into the webcam driver dll using a Call Library Function node in order to start/stop acquisition
08-23-2011 06:31 AM
Well I would like to notify here that I'm having Hp mini notebook with windows 7 starter.
There is no such software to view webcam as we have it in xp below My computer. I have installed a software called mycam for viewing camera and dorgem for motion detection.
In case of Xp, the dorgem merges with the appllication already present below my computer for viewing camera and appears in (insert activex control). (It appeared in case of del laptop with webcam).
But sadly in case of windows 7 and my mini notebook, I don't see any option of webcam, dorgem or mycam in activex controls.
What will be there in case I find the doccumentation? What will tell me whether it can be used as an activex control?
08-24-2011
05:26 AM
- last edited on
04-30-2025
02:54 PM
by
Content Cleaner
The webcam driver documentation will specify whether the camera can be controlled by Activx objects or not. If the camera driver does not support activex control (the driver does not have a *.ocx file (activex control) then you need to use a third party activex control as demonstrated in the following link
There are few more activex components for webcam control that come in trial version. E.g. http://www.gogowishs.com/products/webcamcapture/
After installing and running these activex components, you will get a .ocx file which you have to link to the activex container you have created on your front panel. The steps are demonstrated in the following link
https://www.ni.com/docs/en-US/bundle/labview/page/creating-new-controls-in-an-activex-container.html
Trust that helps.
Best Regards,
Ankur
08-26-2011 12:21 PM
Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.