110 likes | 221 Vues
Intro. Joe A Varnell – mentor for team 704 SGP Robotics Lockheed Martin - Test Engineer Have been a software and systems Worked with NI equipment for 10 years LabVIEW on and off for 6 years LabVIEW core I, II, and III. Starting off. To start a new project. NI Areas for help.
E N D
Intro • Joe A Varnell – mentor for team 704 SGP Robotics • Lockheed Martin - Test Engineer • Have been a software and systems • Worked with NI equipment for 10 years • LabVIEW on and off for 6 years • LabVIEW core I, II, and III
Starting off To start a new project NI Areas for help Open an existing project Sensor, motor, robot operation examples
The Robot Project • Give meaningful name to project • Everything under “My Computer” does not • Everything under “RT CompactRIO” goes on the cRIO
Front Panel • Block Diagram • Flow left to right • NI Code provides info on diagram • Context Help to see • Double click to dig down into blocks
-Open block going to a refNum register block with meaningful name • -Autonomous code • Drag down comment blocks • Dropdowns control operations • Watch dog; Feed the dog
-Get refnum using name -State machine to control execution of teleop -reads joystick and operates on it
-Each loop runs independent of the other (parallel execution) -get reference outside of loop • Anything outside executes once • Anything inside the loops is repeated
Technical Resources • www.chiefdelphi.com • www.ni.com/first - a lot of technical issues • NI training page - http://decibel.ni.com/content/docs/DOC-8923 • http://www.usfirst.org/roboticsprograms/frc/content.aspx?id=10934 • www.lvmastery.com – LabVIEW training. Free for now, may be pay later