Go to Post I also like how the FTC folks are able to get involved with the FRC process this year, but it's always a bit of a let down when you're told you can't launch things into the air. - s_forbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 02-09-2016, 09:04 PM
lukeap1161 lukeap1161 is offline
Registered User
FRC #5006
 
Join Date: Feb 2016
Location: Fayetteville, AR
Posts: 1
lukeap1161 is an unknown quantity at this point
Help With Max and Min on Sliders

I am using C++ and trying to change the sliders to select our position and defense for autonomous. I am having trouble finding a way to change the max and min of the sliders from their default 0-5. I would like to change them to 0-8. Does anyone know how to do this or a place that shows you how to do this?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2016, 11:06 PM
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,112
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: Help With Max and Min on Sliders

I assume you're talking about the four analog values on the Basic tab of the default Dashboard program?

That program is written in LabVIEW. To change it, you'll need to have LabVIEW installed and you'll have to be able to use it. Just create a new Dashboard project and modify those controls to have the range you want them to.

You can type numbers directly into the white boxes to the right of the sliders, and they aren't limited to the 0-5 range. So you might be able to do what you want without making any changes to the Dashboard program.
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 09:20 AM.

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