148
APPENDIX F. VIDEO TUTORIAL LINKS
Standard States
•
(qsm) initialize: Image Buffer
– (qsm) initialize activity: Create an image
buffer with “IMAQ Create” and then merge the reference into the data
highway.
•
– (qsm) initialize activity: Initialize a front-
panel control or indicator with an “Invoke Node.”
•
– (qsm) release: This state releases the front-panel action
buttons at the end of a task.
•
– (qsm) cleanup: Set the “Stop webcam flag” and close
an open file, for example.
•
– (qsm) shutdown: Release the state queue, free all
image buffer memory, and stop the while-loop.
•
– (qsm) schedule: Select a task to apply to the “en-
queue_states” VI and create a new task.
•
– (myRIO) initialize: Example activities such as send-
ing I2C data and setting up a PWM channel.
•
– (myRIO) cleanup: Example activities such as send
digital and analog outputs to inactive states, close PWM channel, send
I2C shutdown string.
•
– (myRIO) update ports: Example activities such
as reading and writing onboard devices, digital I/O, analog I/O, serial
buses, PWM, etc.
•
– (image) get: Walk through the details of this state, includ-
ing the Vision Acquisition Express VI and “IMAQ Symmetry” VI.
•
(image) get: Vision Acquisition
– (image) get: Use NI-MAX to create
and update the camera configuration files stored on the myRIO target;
24
(2:02)
25
(1:49)
26
(2:13)
27
(1:22)
28
(1:30)
29
(4:27)
30
(1:40)
31
(1:12)
32
(1:49)
33
(2:23)
34
(3:13)
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...