
72
CHAPTER 9. POS TERMINAL
•
Collect images of each of your barcoded items; use several different ro-
tation angles (sideways, upside down, etc.) for each barcode.
9.3
Optional Extra Features:
You may wish to add one or more of these extra features:
•
The NI Vision Assistant
Barcode Reader
step understands the “Code 39”
barcode standard. You can easily create and print your own Code 39 bar-
codes with your favorite word processor and this free
. Study
to learn how
to set up the
Barcode Reader
step, and see additional technical details
on this standard at
•
NI Vision Assistant also provides the
2D Barcode Reader
step that un-
derstands the popular QR code – see
to get started.
You can generate your own QR codes for free at
Even though a QR code normally encodes a website URL you can use any
string that you like. Learn more about QR codes at
•
The
OCR/OCV
step performs
optical character recognition
(OCR) to directly
read printed text and numbers. The “OCR A Extended” font included
with your word processor works quite well. See
to learn how to train the
OCR/OCV
step to read
your own printed labels.
•
The two switches in this project could be replaced with any two-state
device presented in the
NI myRIO Project Essentials Guide
, e.g., the
photodetector and photointerrupter.
•
Add a buzzer to emit a short beep when the shopping cart updates (see
Chapter 11 in the
NI myRIO Project Essentials Guide
).
•
Calculate and add sales tax.
•
Initialize the inventory list by reading a spreadsheet .csv file stored on the
USB flash drive.
14
http://idautomation.com/free-barcode-products/code39-font
15
(2:29)
16
http://www.barcodeisland.com/code39.phtml
17
(2:47)
18
http://www.qr-code-generator.com
19
20
(5:04)
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...