
10
CHAPTER 2. APPLICATION DEVELOPMENT FLOW
•
Use the minimum number of steps that satisfies the requirements
•
Periodically evaluate the computational effort of each step with the
Vision Assistant “Performance Meter”
6. Create a new NI myRIO LabVIEW project
•
Connect the camera to NI myRIO if not already connected
7. Configure the Vision Acquisition Express VI
•
Select the “Continuous acquisition with in-line processing” option
•
Adjust the camera video mode and attributes to match the settings
recorded in Step 3
•
Click “Test” to confirm that the image looks correct
•
Enable the frame rate output, if desired
8. Configure the Vision Assistant Express VI
•
Open the Vision Assistant script created in Step 5
•
Remove the color-to-luminance step (assuming the camera is in
grayscale output mode)
•
Click through the steps to confirm correct operation
•
Select the necessary input controls and output indicators
•
Enable the “Create Destination Image” option
•
Move the Express VI inside the while-loop structure
•
Create the needed controls and indicators
9. Add block diagram code for I/O devices
•
Use available on-board devices as needed, e.g., LEDs, accelerometer,
PWM output for servomotors, and switches
•
Refer to the
NI myRIO Project Essentials Guide
for detailed instruc-
tions on a wide range of useful external devices such as proximity
sensors and LCD display
10. Validate the finished application
11. Deploy the VI as a stand-alone application
•
Refer to Appendix D on page 141 for complete details.
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...