
68
CHAPTER 9. POS TERMINAL
Functional Requirements:
The
POS Terminal
will:
1. Accept an image that contains a single EAN 13 barcode (equivalent to the
UPC-A barcode),
2. Extract the 10-digit item code as a numerical value,
3. Look up the item’s name and price from an inventory list,
4. Add the item price to the shopping cart total and subtract the item price
when either the
Remove Item
front-panel button or an external switch
is enabled,
5. Display the item’s name, item code, item price, shopping cart value, and
barcode bounding box as a nondestructive image overlay and on an exter-
nal LCD display; display “unknown item” when a barcode is not found
in the inventory list,
6. Activate two NI myRIO on-board LEDs and a front-panel indicator when
a barcode is in view that has been read successfully,
7. Clear the shopping cart total to zero when either the
Empty Cart
front-
panel button or an external switch is enabled, and
8. Display the state of the two external switches with two front-panel indi-
cators and two NI myRIO on-board LEDs.
Required Resources:
1. NI LabVIEW and NI Vision Assistant
2. NI myRIO with power supply and USB cable
3. USB webcam and tabletop camera copy stand
4. LCD display (Digilent PmodCLS)
5. Two pushbutton or slide switches
6. Barcodes – any convenient items such as books or other products
Deliverables:
1. Lab report or notebook formatted according to instructor’s requirements;
include front-panel screen shots to demonstrate that your application
meets functional specifications
2. .zip archive file containing all project files:
Содержание 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...