Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Web based Image Processing

Hi everyone,

Need some assistance here.

I am one month old programming with LabView. I am still comfortable with C#, C++ , VB style of coding�.so forgive me for my ignorance. :-).
Basically, I am continuing a project that was already using Labview and I wish to add more features and optimize it. I am already familiar using image processing library like Euresys and Coreco. Using IMAQ is the first time for me.

The system requires me to control a laser via a galvo through a NIDAQ card. Feedback is through a camera via an IMAQ card. System needs to be able to run remote via NI web server as well.

Current system has its image on a separate window. I prefer embedded window on the front panel. Also I prefer the sample program ( from ni web
site) that uses CWImaqViewer, as user can interacts on the image by moving and drawing ROIs.

Problem :-
- snap image will not appear on embedded CWImaqViewer in Internet Explorer.
- Unable to control and draw ROIs when running remote as well as local
- When running camera �live� , context menu on CWImaqViewer fails to appear when running local

Just wondering if anyone has done anything similar to this. Tips would be appreciated. Samples code would be splendid.

And for myself I need more practice huh ..:-D

Thank you in advanced

Jammies
0 Kudos
Message 1 of 6
(4,112 Views)
Current system has its image on a separate window. I prefer embedded window on the front panel. Also I prefer the sample program ( from ni website) that uses CWImaqViewer, as user can interacts on the image by moving and drawing ROIs.

It sounds like you are using LabVIEW version 6.1 and the IMAQWndDraw VI. In LabVIEW 7.0 and later, we have added an Image Display to LabVIEW, which allows for the exact functionality you are asking for. These image displays will also function via a web browser correctly as well.

My guess is that the reason that you are not able to see the images in Internet Explorer is because the remote machine does not have the CWIMAQViewer active X object installed.

Again, I believe that the features that have been added in our la
test versions are going to be the solution to this problem.

Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog
0 Kudos
Message 2 of 6
(4,111 Views)
Hi Colin,

Thank for the reply.

Apparently the PC that I first use for debugging has a version 3(ComponentWorks)of IMAQ ...

So now I have IMAQ 6 installed. Labview has been Labview 7 all along.

>>>>>>> we have added an Image Display to LabVIEW, which allows for the exact functionality you are asking for.<<<<<<<<<<<<<<

Are you referring to the picture VI. If it is, Yes I did try this and it works fine, even on Internet explorer. However, it does not provides direct support for overlays and ROIs...or is there anyway to do that here?

The reason that I am using CWIMAQViewer ActiveX on frontpanel is so that I can have the ROIs overlays and hence allows user interaction locally as well as on web via the CWIMAQViewer object.

Problem now is t
hat the CWIMAQViewer will not show the capture image when running embedded on Internet explorer...

When testing remote, I am using localhost, on the same PC.

Thank you

Jammies
0 Kudos
Message 3 of 6
(4,111 Views)

So it sounds like this is your system:

IMAQ Vision (the development module) 6.0
LabVIEW 7.0
Unknown NI-IMAQ driver version (probably 2.6.1)

If you have LabVIEW 7.0 then you should have the image display (pending that you have a recent enough version of the NI-IMAQ driver).

The image display should be located in Controls&#187All Controls&#187Vision&#187Image Display

If there is no display there, then you probably could just upgrade to a newer version of IMAQ. This should give you the image display, with all of the associated ROI tool
s, etc.

The LabVIEW Image display should allow for the ROI functionality on remote machines.

Regards,
Colin C.
Applications Engineering

Colin Christofferson
Community Web Marketing
Blog
0 Kudos
Message 4 of 6
(4,110 Views)
Hi all,
I have the same problem, did you have found a solution?

Manuel Saglini
Ing. dipl. méc. EPFL
saglini@minimotor.ch

MINIMOTOR SA
6980 Croglio, Switzerland

Tel.: +41 (0)91 611 31 00
Fax: +41 (0)91 611 31 10

http://www.minimotor.ch
Miniature Drive Systems
0 Kudos
Message 5 of 6
(4,034 Views)
Hi Saglio,

What in particular are you having trouble with that Colin did not mention?

Regards,

Dan
National Instruments
0 Kudos
Message 6 of 6
(4,022 Views)