Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

READING IMAGES LOCATED IN THE CVS FILE

Hi,
 
 i want to if there is a way of reading stored images in CVS. I don't need to use datasocket or other network configuration because the image file is in the CVS and i want through VBAI to read stored images and to use it for the next step. I search in forum but all compatible examples use active X thing that i dont want to use in case of creating a custom step sdk.
Could someone give me guidance in this issue please?
 
Best Regards
 
Tchaou
0 Kudos
Message 1 of 4
(3,542 Views)
Hello Tchaou,
 
Unfortunately, there is no built-in functionality to view the files on the CVS in VBAI.  I would suggest creating a small program to run in the background to FTP to the CVS that copies the files over to your local system.  You can then monitor the directory it stores the files on and open them in VBAI.
 
Regards,
Jasper S
0 Kudos
Message 2 of 4
(3,524 Views)
Hello Jasper ,

Thank you for your answer. the thing that you suggested me is good, but i do not want to use a computer in my application. i just want to use the CVS. if this is impossible with the CVS as you told me...i think i need to redesign my application. again thank you.
 
Best Regards,
 
Tchaou
0 Kudos
Message 3 of 4
(3,513 Views)

Hey Tchaou,

I believe there was a misunderstanding before.  We do have the option of reading images that are on the CVS in VBAI.  Using the Simulate Acquisition step, you can navigate directly to the CVS at C:\your folder\first image.jpg.  When debugging on your development computer, you will not be able to see an image because the program looks at the C directory on the PC.  Therefore you will need to run the inspection once on the CVS in order to run the rest of your functions on an image.  To see the folders available on your CVS you can simply ftp into the device using Internet Explorer.  For instance, the example programs that get installed onto the CVS when you install VBAI include folders of images.   They can be found at ftp://your CVS address/VBAI/DEMOIMG/TUTORIAL.  If you open one of the tutorials in VBAI from the CVS, you can see the path points to a location on the PC.  You can also type in C:\DEMOIMG\TUTORIAL 1\Image 01.jpg which is the directory on the CVS, and you should be able to also run the inspection.  I hope this helps.


Vu


Message Edited by Vudoo on 03-19-2007 05:14 PM

0 Kudos
Message 4 of 4
(3,488 Views)