
18
CHAPTER 3. DESIGN PATTERN FOR MACHINE VISION APPLICATIONS
how to use NI-MAX while configuring
Vision Acquisition
to select the
webcam resolution (mode) and attributes.
2.
(image) analyze
–
– Use the
Vision Assistant
Express VI
to load the script created during development with the stand-alone Vision
Assistant tool, select the necessary options to create an image buffer for the
analyzed image (allocates memory only on the first run), and then select
the necessary controls and indicators so that the script inputs and outputs
can be merged into the data highway. The Express VI requires a reference
to the webcam image buffer as its input and generates a reference to the
analyzed image buffer as its output.
Most Vision Assistant script steps produce clusters or arrays that are not
available as standard front-panel controls when editing the data highway,
however, it is very easy to create a custom control that can be added to
the data highway; see
for details.
3.
(image) overlay
–
– use
IMAQ Overlay Text
to add a
nondestructive information overlay to an image buffer. This is a relatively
simple example, but is illustrative of the general technique to add overlays.
LabVIEW provides a wide variety of VIs to create overlays.
4.
(image) show
–
– update the main image display using
any of the available image buffers; the
Select
node and a mode button
are illustrated here.
33
(2:23)
34
(2:58)
35
(3:12)
36
(1:31)
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...