1 / 18

What’s New in LabVIEW FRC 2010

What’s New in LabVIEW FRC 2010. Doug Norman & Stephanie Brierty National Instruments January 8, 2010. LabVIEW FRC 2010 Overview. Install and licensing is easier Auto Error Handling More examples – with wiring diagrams Getting Started Window Project Wizards - templates WPI Library palette.

orla-spence
Download Presentation

What’s New in LabVIEW FRC 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What’s New in LabVIEW FRC 2010 Doug Norman & Stephanie Brierty National Instruments January 8, 2010

  2. LabVIEW FRC 2010 Overview • Install and licensing is easier • Auto Error Handling • More examples – with wiring diagrams • Getting Started Window • Project Wizards - templates • WPI Library palette

  3. LabVIEW FRC 2010 Install and Licensing • Install LabVIEW FRC 2010 DVDs in kit • Download and install MANDATORY update from web • Link on Getting Started Window • Now one license for all NI software installed

  4. Auto Error Handling • You can leave error terminals unwired • Errors will automatically get passed to Driver Station • See Diagnostics tab • Clear errors • View error log files • Duplicate errors are filtered and removed

  5. More Examples • Motor with Encoder • Accelerometer Angle • Potentiometer with DS • Joystick Button Latching • Servo • Magnetic Encoder with Motor • Ultrasonic • Compressor with Cylinder • ADXL345 I2C Accelerometer • ADXL345 SPI Accelerometer

  6. Example Wiring Diagrams in ALL Examples

  7. Getting Started Window • View>>Getting Started Window… • Access • Examples • Robot and Dashboard project wizards • Help, Guides, etc. • Prompts you to update your software

  8. Project Wizards • Robot Project • One architecture – easier for teams to help each other • Will have some game specific code • Dashboard Project • Simplified – easier to edit • Will have some game specific code

  9. WPI Robotics Library Improvements • RefNum Registry Set and Get • Driver Station – Write User Message • Driver Station – Set Dashboard Data • Driver Station – Enhanced I/O

  10. RefNum Registry • In most palettes • Register RefNum by name once • Get RefNum anywhere needed • Avoids error of reopening an existing RefNum

  11. Using RefNum Registry Set and Get Set in Begin.vi • Set once using unique name (you pick) • Get multiple times in Teleop, Autonomous, etc. using same unique name Get in Teleop.vi

  12. Driver Station – Write User Message.vi • Writes to User Messages control on Driver Station • Available last year, but didn’t get installed • Up to 6 lines, 21 characters per line • One line per instance

  13. Driver Station – Set Dashboard Data VIs Set Low Priority Dashboard Data.vi • Flatten data to string • Send data to dashboard • Select high or low priority Set High Priority Dashboard Data.vi High Priority > Errors > Low Priority

  14. Using the Set Dashboard Data VIs Set by robot in Build Dashboard Data.vi Flatten To String Cluster of data for dashboard • Note - only use one instance of each VI Receive DS Packet.vi Read by dashboard in Dashboard Main.vi

  15. Driver Station – Enhanced I/O Driver Station Enhanced I/O Compatibility I/O

  16. Driver Station – Enhanced I/O • Set/Get Digital I/O (16) • Set/Get Digital Out HC (2) • Get Analog Input (8) • Set/Get Analog Output (2) • Get Buttons (6) • Set/Get LEDs (8) • Get Quadrature Encoders • Set/Get PWM Values (4) • Get Accelerometer (X,Y,Z) • Set/Get Digital Config • Get Touch Slider • Get Version Info Note – don’t mix and match with Compatibility I/O

  17. Conclusions • Easier installation and activation • See live errors from robot • Get started faster with examples and wiring diagrams • Alerts for software updates • Improved templates • Expanded WPI Library palette Questions?

More Related