Go to Post Everyone should go look at the baby pics….it will make you feel better. - wendymom [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 13-02-2010, 18:16
K Lenox's Avatar
K Lenox K Lenox is offline
I AM GOD IN GEARS OF WAR!!!!
FRC #2632 (Comets Unleashed)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Amherst
Posts: 26
K Lenox is an unknown quantity at this point
Editing 'Set Speed' on the dashboard

Hello, I am the computer programer for Amherst Robotics #2632

I was wanting to know if there is a way to make the speed settings for the motors appear in the dashboard to edit them while you are in driver mode.

The thing is that by having to edit the numbers in LabVIEW, compliling the progra, and then running it takes forever. I want to know if there is a way to bypass all this time consuming work, since i love shotcuts.

Thanks, any help is appreciated!!!

Kyle Lenox
__________________
[font="Times New Roman"]
You never saw this message
You never read this
You will read the next available object within sight



Why are you still reading this???  Begone with you!!!
[SIGPIC]
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 18:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Editing 'Set Speed' on the dashboard

You can put them on Teleop's Front Panel as a control and use the Run arrow button (from Robot Main.vi only!). Start it and then switch to the Telop Front Panel to adjust the speed controls.

User the Driver Station app from the Developer account, too.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2010, 19:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Editing 'Set Speed' on the dashboard

You cannot send data from dashboard back to the robot. That is a one-way trip.

You can send values from the driver station I/O tab. The four compatibility sliders can be set by HW such as pots if you connect the I/O board to the DS, or you can set them onscreen by dragging.

Scale them up or down a bit, and you have a Speed Setting.

If you only want to do this for debugging, what Mark pointed out is one of the major debugging features. Instead of using a constant, make the value a control on the panel. Run using the arrow, open the panel, and change the number whenever you like. Once you know what the number needs to be, you can make it a constant, or keep it a control and make sure to set the current value default using the control popup.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2010, 22:52
ecnahc515 ecnahc515 is offline
Registered User
FRC #3192
 
Join Date: Jan 2010
Location: Oregon
Posts: 6
ecnahc515 is an unknown quantity at this point
Re: Editing 'Set Speed' on the dashboard

Make a numeric control on the front panel of the teleop VI. And in the block diagram you can have it multiply the x and y values by the control.

Just set the control min and max to be between 0 and 1. So then when the control on the front panel is half way your motors will go half the speed. Basically makes a throttle.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up custom dashboard for auto start Kevka Programming 11 28-01-2010 18:46
Setting speed values for a set more block (was: Hi) team877 NI LabVIEW 2 15-02-2009 18:32
problems mounting the camera to the 'bot with the default servo/mount set up Redneck Programming 0 16-02-2005 20:53
How do you set a speed limit on the servo Fares Programming 6 01-01-2003 15:04


All times are GMT -5. The time now is 08:41.

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