Go to Post Gracious Professionalism, it's hard to describe, but I sure know when I'm not living up to it. - rsisk [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-02-2011, 23:16
takiko1996's Avatar
takiko1996 takiko1996 is offline
Registered User
FRC #2443 (Blue Thunder)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Hawaii
Posts: 58
takiko1996 is an unknown quantity at this point
Classmate question

On our classmate the section that has slot 1 and slot 4 with the pwm readings don't change for us when we use them. The same with the relay, analog input, and Gpio sections. For example the motors will move when we run our program, which changes the pwm reading, but the readings on the classmate screen do not change. What can we do to fix this?

Last edited by takiko1996 : 12-02-2011 at 23:19.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2011, 14:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Classmate question

What language are you using to program your robot? The dashboard data stream is automatically sent by the LabVIEW robot framework. I think you need to enable it explicitly if you're using C++.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2011, 01:14
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Classmate question

Put your robot up on blocks so it doesn't run away and then try holding down a button or pushing forward a joystick for a long time (2-3 sec). See if the value shows up then on your Classmate.

We have seen this happen (at least with LabVIEW) and we are guessing that it's because the robot only sends dashboard data some of the time to save on processing power. Every 50 calls it only sends certain things about once. We wanted to update faster, so we went into the build dashboard data VI and added some extra calls for certain cases that we wanted sent more often (digital, a custom case). We have not tested this yet (robot isn't ready), so it may not work. It might slow down the robot/driver station too much. But maybe this is your problem.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2011, 19:22
takiko1996's Avatar
takiko1996 takiko1996 is offline
Registered User
FRC #2443 (Blue Thunder)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Hawaii
Posts: 58
takiko1996 is an unknown quantity at this point
Re: Classmate question

We are using Java
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2011, 20:31
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,581
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Classmate question

Look at the dashboard example project for the code to update the displays on the LabVIEW dashboard.
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 00:44.

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