LabVIEW Basics #12 - Laser Turrets and Event Structures - Part 2 - Creating the LabVIEW VIs/Code
SIN Consulting
In this video I demonstrate how to upload the hobbyist firmware to your Arduino, how to develop a basic VI to control the pan-tilt servo configuration with numeric controls only, and then I demonstrate how to further develop this VI, using event structures to control the pan-tilt servo configuration using your mouse and keyboard as inputs.
Part 1: https://youtu.be/4gYZpqMlL_4
How to setup LINX in LabVIEW 2019: https://youtu.be/MB8lduqPuyM
LINX has been renamed the Hobbyist Toolkit in LabVIEW 2020 and greater, it is included as part of LV2020+ and doesn't require installation.
0:00 - 0:37 - Introduction 0:38 - 1:50 - Uploading LINX/Hobbyist Firmware to the Arduino UNO 1:51 - 2:06 - How to create a VI 2:07 - 8:51 - Creating the Numeric Control VI - Block Diagram 8:52 - 12:39 - Creating the Numeric Control VI - Front Panel 12:40 - 13:35 - Adding in an Event Structure to your Block Diagram 13:36 - 14:10 - Adding in your First Event Case - Pan & Tilt Control Value Change Event 14:11 - 16:40 - Adding a Shift Register to your VI 16:41 - 17:37 - Adding a Stop Event Case 17:38 - 21:41 - Adding Keyboard Control - Key Down Event Case 21:42 - 22:32 - How to Debug an Event Case with a Indicator 22:33 - 23:14 - Adding Keyboard Control - Key Repeat Event Case 23:15 - 28:50 - Adding Mouse Control - Mouse Move Event Case 28:51 - 29:30 - How to Quickly Create a SubVI 29:31 - 29:55 - Outro
GitHub: https://github.com/SINConsulting/LabVIEW-Basics LBRY - https://open.lbry.com/@SINConsulting LinkedIN - https://www.linkedin.com/company/sinconsulting Fiverr - https://www.fiverr.com/share/WoPraX
Contribute and ask questions here: https://forums.ni.com/t5/LabVIEW/LabVIEW-Tutorials-Programming-an-Arduino-using-LINX/m-p/3956614
#Arduino #LabVIEW #Tutorial ... https://www.youtube.com/watch?v=Zl5GW35dUjc
166835403 Bytes