
CHAPTER 7. COIN CALIPER II
49
i.
Calibrate
(Figure 7.3 on page 52),
ii.
Save Image
(Figure 7.4 on page 53, and
iii. Default task (Figure 7.5 on page 54
3.
– Coin Caliper II demo Step 3/15: Develop
the vision script in the stand-alone version of Vision Assistant to measure
and report the coin diameter in pixels and in real-world units.
4.
– Coin Caliper II demo Step 4/15: Import
the vision script into the LabVIEW Vision Assistant Express VI; select
controls and indicators.
5.
– Coin Caliper II demo Step 5/15: Connect the
Vision Assistant Express VI controls and indicators to the data highway.
6.
– Coin Caliper II demo Step 6/15: Use a “Property
Node” to obtain the user-selected ROI from the main image display.
7.
– Create an action button for the
calibrate
state.
8.
Step 8: Create Increment State
– Create the
increment file number
state
and add “file number” to the data highway.
9.
Step 9: Create Calibrate State
– Create the
calibrate
state, add “known
diameter” to the data highway, and calculate the scale factor as known
diameter in millimeters divided by measured diameter in pixels.
10.
– Edit the
(qsm) overlay
state to add the
coin diameter to the nondestructive overlay.
11.
Step 11: Edit Save Image State
– Edit the
save image
state to use “file
number” from the data highway.
12.
Step 12: Edit myRIO Ports State
– Edit the
(myRIO) update ports
state
to operate the myRIO LED indicators.
13
(5:12)
14
(2:24)
15
(3:53)
16
(1:32)
17
(1:07)
18
(2:45)
19
(2:43)
20
(2:19)
21
(4:40)
22
(2:42)
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...