01-20-2010 02:22 PM
01-21-2010 04:25 PM
Hi wb2nvy,
If you want to access the images on the computer from the camera, you would have to create a custom step to use FTP to access your computer. Similarly, you can access your Smart Camera over FTP to place files on it. These would be the ways to do this.
01-22-2010 06:54 AM
01-22-2010 08:03 AM
HI wb2nvy,
The camera does have a C:\ drive and this is where you are placing all of the files that you are running. You can FTP into the camera to place files there without using VBAI.
01-22-2010 08:27 AM
In case you don't know how to FTP to the smart camera, you can open a window on your development machine (i.e. go to c:\) and type in the address bar at the top ftp://<IP Address of Smart Camera> and this will take you to the C drive of the smart camera where you can navigate to the User Images folder. I would recommend coping a folder (call it "My Images" for example) of the two images to this folder on the target and having the same folder ("My Images") on windows that you use in the Simulate Acquisition step. Then when the code runs on the smart camera it will look in the User Images folder for the "My Images" folder.
Hope that helps,
Brad
01-22-2010 08:30 AM
01-22-2010 08:37 AM - edited 01-22-2010 08:39 AM
Those two examples on the smart camera already have a folder of images on the smat camera (that's why they work without the error). The smart camera doesn't access the images on the host PC when you run the inspection on the target. Something that might be confusing is that when you press the lower button to just run the current state, the state runs on the local PC, and so it will use the images on your PC and you won't get an error about the images not being on the target. When you press the top Run button for the full inspection, it downloads the inspection to the target and that's when it will look for the images you specified on the target, so if they aren't there, you will get an error. If you put your image in c:\documents and settings\Administrator\desktop\My Images\ it will look in that directory on the smart camera and since it probably won't be there it will try c:\user images\My Images\ and if you have copied them to this location using FTP, the inspection will run on the smart camera correctly.
Hope that helps,
Brad
01-22-2010 08:48 AM
01-22-2010 10:30 AM
01-22-2010 10:40 AM