
CHAPTER 6. COIN CALIPER I
43
16
Follow along with the video
Step 6: Configure “Vision Assistant” Ex-
to learn how to configure the Vision Assistant Express VI with the
processing script that you developed earlier, check the script performance with
the “Performance Meter,” install the Express VI inside the while-loop structure,
and attach controls and indicators. Run the VI and debug the code until the
application works properly.
17
Screen capture the front panel for several coins. Compare the measured
diameters to the known diameters. Report the typical frame rate, too.
18
Follow along with the video
to learn how to
add the NI myRIO on-board LEDs to indicate whether the coin diameter is
larger or smaller than a threshold value. This very simple example illustrates
how to add I/O devices to the application.
Validate the application
19
Test your completed “Coin Caliper” application. How robust is the ap-
plication? For example, how much variation do you see in the diameter mea-
surement with the coin “just sitting there” in the display? How do changes in
illumination affect the measurement?
Deploy the VI as a stand-alone application
20
Study the video
Deploy a Stand-Alone Application
to learn how to
deploy the “Coin Caliper” as a stand-alone application on NI myRIO. After
completing this process the “Coin Caliper” will run automatically when you
power-on the NI myRIO.
Add an external information display
21
Extend the dual-LED display technique described in the most-recent video
to use all four LEDs as a bargraph indicator for the measured coin diameter.
Review your coin collection and determine the minimum coin diameter
D
min
and the maximum coin diameter
D
max
. Disable LEDs for a measured diameter
less than
D
min
, enable all LEDs for a measured diameter greater than or equal to
(4:37)
(3:06)
(8:29)
Содержание NI myRIO
Страница 1: ...Ed Doering NI myRIO Vision Essentials Guide...
Страница 2: ......
Страница 11: ...Part I Machine Vision Fundamentals...
Страница 12: ......
Страница 31: ...Part II Introductory Machine Vision Projects...
Страница 32: ......
Страница 38: ...32 CHAPTER 4 CAMERA SETUP...
Страница 44: ...38 CHAPTER 5 STEREO VISION...
Страница 61: ...Part III Machine Vision Application Projects...
Страница 62: ......
Страница 72: ...66 CHAPTER 8 COIN COUNTER...
Страница 85: ...CHAPTER 10 KEYED OPTICAL LOCK 79 Figure 10 3 Typical expected results for the Geometric Matching step...
Страница 86: ...80 CHAPTER 10 KEYED OPTICAL LOCK...
Страница 92: ...86 CHAPTER 11 DMM TEST STAND...
Страница 134: ...128 CHAPTER 17 MARBLE SORTER...
Страница 135: ...Part IV Appendices...
Страница 136: ......
Страница 143: ...B MXPandMSPConnectorDiagrams Figure B 1 MXP myRIO eXpansion Port connector diagram...
Страница 144: ...138 APPENDIX B MXP AND MSP CONNECTOR DIAGRAMS Figure B 2 MSP miniSystem Port connector diagram...
Страница 148: ...142 APPENDIX D BUILD A STAND ALONE APPLICATION...
Страница 149: ...E MarbleSorterConstructionDetails To be continued...
Страница 150: ...144 APPENDIX E MARBLE SORTER CONSTRUCTION DETAILS...