
CHAPTER 9. POS TERMINAL
71
These LabVIEW techniques are also required for this project:
•
– Create a custom control for the
Barcodes
Vision Assistant script output and insert this into the data highway
•
–
Format Into String
•
– Use
IMAQ Overlay Text
to insert a text string into the
nondestructive image overlay
•
– Select the “NI Vision” font and adjust its size
•
Create “Inventory” Cluster of Arrays
– Create a cluster of arrays to store
the product inventory with item codes, names, and values
9.2
Development Tips
Representative Images
•
Gather at least five items that contain barcodes.
•
Conduct an Internet search to learn more about the structure of an EAN-13
barcode and write a paragraph to describe your findings. Also look for
a site that can generate an EAN-13 barcode given a user-supplied value.
•
Determine the camera distance and camera mode (resolution and frame
rate) that achieves your required spatial resolution while maximizing the
frame rate.
•
Experiment with your barcode items to determine a suitable background
color; you may find that a piece of white paper works well to protect the
surface of the table-top camera copy stand. Ambient room light should suf-
fice; keep the lighting as uniform as possible to avoid lighting “hot spots.”
•
Use a line grid target to align the camera so as to minimize perspective
distortion.
•
Adjust the camera attributes to maximize the contrast of the barcode’s
black-and-white pattern. The NI Vision Assistant
Barcode Reader
step is
robust and should be able to ignore the other features visible on the object.
(2:58)
10
(1:44)
11
(2:15)
12
(2:48)
13
(5:03)
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...