Go to Post Is it January yet?? - Kevin Kolodziej [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, 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,752
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
  #2   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 22:04.

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