Advanced LabVIEW Workshop Tutorials for Customizing Dashboard and Implementing FGV

advanced labview n.w
1 / 43
Embed
Share

Explore advanced LabVIEW tutorials on customizing the dashboard, implementing functional global variables (FGV), VI properties, state machine architectures, and more. Enhance your LabVIEW skills with practical examples and demonstrations.

  • LabVIEW
  • Tutorials
  • Dashboard
  • FGV
  • VI Properties

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Advanced LabVIEW http://workshop.frclabviewtutorials.com

  2. Customizing the Dashboard

  3. Customizing the Dashboard Open Project

  4. Customizing the Dashboard Open Project Sending data from robot

  5. Customizing the Dashboard Open Project Sending data from robot Smart Dashboard VI s Named (case sensitive) values

  6. Customizing the Dashboard Open Project Sending data from robot Smart Dashboard VI s Named (case sensitive) values

  7. Customizing the Dashboard Open Project Sending data from robot Sending data to robot

  8. Functional Global Variable

  9. Functional Global Variable Side note https://frclabviewtutorials.com/tutorials/fgv/

  10. FGV Functional Global Variable Code

  11. Implementing An FGV

  12. VI Properties Quick Intro https://frclabviewtutorials.com/tutorials/fgv/ SR Flip Flop Demo

  13. VI Properties Quick Intro https://frclabviewtutorials.com/tutorials/fgv/ SR Flip Flop Demo Edge Detector https://frclabviewtutorials.com/tutorials/memory-library/

  14. Architectures State Machine

  15. Architectures State Machine

  16. Architectures State Machine

  17. Architectures State Machine Producer-Consumer Parallel loops First creating data or instructions Other handling

  18. Architectures State Machine Producer-Consumer Parallel loops Use either queue or fgv

  19. Producer Consumer Demo

  20. Producer Consumer Demo (side note) In Computer Science (and CE, but software specifically), there s a concept call separation of concerns (Wikipedia: link) [Each segment of code should only deal with a single task] (paraphrased) This might be: Getting input Or controlling the shooter This set-up, allows you to separate the task of deciding what to do base on inputs (/auto) and how to do it(/interacting with the hardware)

  21. Type Def. Useful for passing data both controls and indicators Demo

  22. Type Def. Useful for passing data both controls and indicators Demo

  23. Closed loop control through PID PID

  24. PID WPI Video: https://www.youtube.com/watch?list=PL8BLGj0RyhMzNXX9gHBos WPRbqqn0gJUQ&v=UOuRx9Ujsog&feature=emb_logo

  25. Closed Loop Control Open Loop:

  26. Closed Loop Control Open Loop: Motor controller Robot arm Joystick Software

  27. Closed Loop Control Open Loop Closed Loop Sensor Combined Software Motor controller Robot arm Joystick

  28. Closed Loop Control Open Loop Closed Loop Example

  29. Closed Loop Control Open Loop Closed Loop Example Move the arm

  30. Closed Loop Control Open Loop Closed Loop Example Move the arm Tele-op.vi

  31. Closed Loop Control Open Loop Closed Loop Example Move the arm Tele-op.vi Motor X = .25

  32. Closed Loop Control Open Loop Closed Loop Example Set Arm Position to 90 Tele-op.vi Motor X = .25 Potentiometer

  33. Closed Loop Control Open Loop Closed Loop Example (arm position) Set Arm Position to 90 Tele-op.vi Motor X Potentiometer

  34. Closed Loop Control - PID PID stand for: Proportional Integral Derivative (arm position) Set Arm Position to 90 Tele-op.vi Motor X Potentiometer

  35. Closed Loop Control - PID PID stand for: Proportional Integral Derivative Output = Kp E(t) + Ki E (t) + KdE (t)

  36. PID Proportional

  37. PID Proportional Constant multiplied by error (offset) The larger this is, the faster the robot approaches the setpoint (smaller rise time) If too large, the robot will overshoot the target consistently

  38. PID Proportional Constant multiplied by error (offset) The larger this is, the faster the robot approaches the setpoint (smaller rise time) Integral Constant multiplied by integral of all previous error values Used to eliminate steady state error (reducing offset after movement) If too large, robot will eventually (> 5s) respond vehemently

  39. PID Proportional Constant multiplied by error (offset) The larger this is, the faster the robot approaches the setpoint (smaller rise time) Integral Constant multiplied by integral of all previous error values Used to eliminate steady state error (reducing offset after movement) Differential The larger this is, the less overshoot and settling time (less bounce) If too large,

  40. PID Tuning

  41. PID Tuning Several methods available Ziegler Nichols* Tyreus Luyben Cohen Coon str m-H gglund Manual Tuning*

  42. PID Example code

  43. Questions

Related


More Related Content