Go to Post FIRST is not about lowering the bar to those with the smallest expectations, but helping helping all teams exceed the standards set by the best. - Allison K [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2017, 17:00
adam.behun adam.behun is offline
Registered User
FRC #4506
 
Join Date: Jan 2017
Location: Hill-Murray High School MN
Posts: 3
adam.behun is an unknown quantity at this point
Gyro Help

Hi,
My team and I are currently trying to program a field centric drive program with a gyro. We are having struggles with our ADIS 16448 gyro plugged into the custom electronics port. Has anyone successfully implemented the ADIS 16448 into their labview code? We have the example code but are not able to get values onto the dashboard.
Any help is appreciated,
Team 4506
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2017, 08:17
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Gyro Help

If you are able to read gyro values with the example code, then there are a couple of tutorials that will help you get that data onto the dashboard. Look on the Tutorials tab of the LabVIEW Getting Started Window.

Tutorial 6 - Creating a Custom Dashboard
Tutorial 7 - Integrating Examples into Robot Code

Specifically, parts 2 and 3 of Tutorial 7 show how to send data to the dashboard and how to display data on the dashboard.
__________________
Doug Norman
National Instruments
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2017, 00:24
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 60
mshafer1 is an unknown quantity at this point
Re: Gyro Help

Like Doug said, if you are able to read the gyro, getting it talking to the dashboard is pretty simple (although you have to build a custom dashboard - if you build and open your custom one before launching the driver station - on the same computer - it will use the one you made).

This tutorial:
https://frclabviewtutorials.com/gyro/

shows how to use the Smart Dashboard vi's to send the Gyro data to the dashboard (and get it to display) - your code will be different in that you will be using the example code to read the gyro and open the Gyro instead.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2017, 17:44
flemdogmillion's Avatar
flemdogmillion flemdogmillion is online now
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 125
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Gyro Help

Hello, old friends. You have the library I got way back when, so use the context help to figure out what each VI does.
Also, how are you linking up the send and receive VIs in your code and dashboard?
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi