110 likes | 225 Vues
Join Joe A. Varnell, a mentor for Team 704 SGP Robotics and Test Engineer at Lockheed Martin, as he shares insights on leveraging LabVIEW for robotics projects. With over 10 years of experience in software and systems, he provides guidance on opening existing projects, autonomous coding, and effective execution management. Discover resources, training links, and the importance of meaningful naming in programming. This resource is essential for anyone looking to optimize their robotics projects and learn more about the capabilities of NI equipment.
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