CHAPTER 7. COIN CALIPER II
47
Deliverables:
1. Lab report or notebook formatted according to instructor’s requirements;
include front-panel screen shots to demonstrate that your application
meets functional specifications
2. .zip archive file containing all project files:
(a) Representative images
(b) Vision Assistant script
(c) LabVIEW project file set
7.1
Technical Approach
NI Vision Assistant Script
Clamp Rake
serves as the heart of the Vision Assistant script for this project.
It requires a grayscale image (see
to learn how to
extract the luminance plane from a color image) and seeks two edges either
horizontally or vertically that define the maximum extent of an object.
Clamp
Rake
effectively measures the diameter of circular object such as a coin. Refer
to
Measure Width with “Clamp (Rake)”
to learn how to configure this step.
Select the “ROI Descriptor” control and the two “Distance” indicators when
you import the script into the LabVIEW Vision Assistant Express VI.
A simple 2-point calibration with the
Image Calibration
step suffices to
convert pixel measurements from
Clamp Rake
to real-world units in millime-
ters. Refer to
Two-Point Calibration from a Ruler
for details. Select the “Grid
Descriptor” control for this step when you import the script.
LabVIEW Techniques
The following LabVIEW techniques are required for this project:
•
– Get the ROI (region of interest) from the
main image display with a “Property Node.”
•
– Add a custom lane: create a control from the
Vision Assistant Express VI indicator output, convert to type def, save
(1:02)
(2:18)
(2:28)
(2:29)
(2:58)
Summary of Contents for NI myRIO
Page 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Page 2: ......
Page 11: ...Part I Machine Vision Fundamentals...
Page 12: ......
Page 31: ...Part II Introductory Machine Vision Projects...
Page 32: ......
Page 38: ...32 CHAPTER 4 CAMERA SETUP...
Page 44: ...38 CHAPTER 5 STEREO VISION...
Page 61: ...Part III Machine Vision Application Projects...
Page 62: ......
Page 72: ...66 CHAPTER 8 COIN COUNTER...
Page 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Page 92: ...86 CHAPTER 11 DMM TEST STAND...
Page 134: ...128 CHAPTER 17 MARBLE SORTER...
Page 135: ...Part IV Appendices...
Page 136: ......
Page 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Page 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Page 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Page 149: ...E MarbleSorterConstructionDetails To be continued...
Page 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...