22.14 TUTORIAL - DVT CAMERAS
(******To be done outside the lab without the hardware)
1. If the DVT software is not installed yet, install it now.
2. In either case put the DVT CDRom in the computer and follow the tutorials on the CD.
3. Run the 'Framework' software. When it starts to run a window called 'PC Communications' will appear. In this case we will only use the simulator, so select 'Emulator' then 'Model 630', then 'Connect'. The emulator will also start as another program.
4. At this point we can set up a simple set of vision tests for the camera. The camera is capable of supporting tests for more than one product. You can select which product the tests will be for by first selecting 'Products' then 'Product Management...'. This will put up a window to define the product details. Select 'New' and then enter 'part1'. Use 'OK' to dismiss the windows and get back to the main programming window.
5. We need to now set up the emulator to feed images to the programming software. We can do this by loading a set of test images. To do this open the 'DVT SmartImage Sensor Emulator' window. Then select 'Configure' then 'Image sequence...'. Select 'Browse for Image' and then look for images on the CD in the 'emulator\images\Measurement' directory. Pick the file 'Measurement001.bmp'. The next window will ask for the last image so select 'Measurement010.bmp'. Select 'OK' to get back to the main emulator window.
6. Go back to the Framework programming screen. The emulator can be started by selecting the right pointing black triangle near the red circle. You should see images appear in a sequence. Pause the images using the single vertical line.
7. Next we will add a test to the product. On the left hand side of the screen select 'Measurement', select the small line with two red arrows and then move the mouse over the picture and draw a line over a single section of the part, for example the right hand most side by the large circle.
8. In the pop-up window enter the test name 'test1'. Apply the changes and dismiss the window and run the camera again. Notice that as the images flip by the result of the test is shown at the bottom of the screen. As the images are captured the part may move around. It is common to delete and recreate the sensor a number of times to find the right position for the line. Double click on the sensor and look at some of the options possible. Try changing these and see what happens.
9. Delete the previous sensor and create a sensor (rotational positioning: find edge in parallelogram), and a translation sensor (translational positioning: fudicial rectangle). For the translation sensor, under the 'Threshold' select 'Dark Fudicial'. Run the software and note the rotation and translation data at the bottom of the screen as the images are processed.
10. Delete the sensors. Go to the emulator and load the two '1dBarCode' images in the 'emulator\images\1DReader'. In Framework run the camera so that these appear on the screen, then pause the camera. On the left hand side of the screen select 'Readers' then 'Barcode Sensor: Line for 1D codes'. Draw the sensor line over the middle of the barcode.