Go to Post I can see the 2013 Kickoff broadcast now: "Hello Teams. Welcome back. Gracious Professionalism. Here's some homework. Here's the animation. Here's what the actual field looks like. RTFM. Peace." - sanddrag [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 22-01-2009, 19:25
Pneumaticsman's Avatar
Pneumaticsman Pneumaticsman is offline
Registered User
AKA: Mitch guzman
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Idaho
Posts: 69
Pneumaticsman will become famous soon enoughPneumaticsman will become famous soon enough
Send a message via MSN to Pneumaticsman
Question PWM maximum outputs

what is the maximum output on the PWM while programming in LabView? we are trying to create a program that will slow the speed of the motors with the push of a button, but in order to do that we need to know what the output of the motors are
__________________


be prepared for the unexpected
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2009, 20:07
Pneumaticsman's Avatar
Pneumaticsman Pneumaticsman is offline
Registered User
AKA: Mitch guzman
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Idaho
Posts: 69
Pneumaticsman will become famous soon enoughPneumaticsman will become famous soon enough
Send a message via MSN to Pneumaticsman
Re: PWM maximum outputs

nevermind we found if haha it's 1
__________________


be prepared for the unexpected
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2009, 12:54
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: PWM maximum outputs

sort of a sub-question...i know the output values are -1 to +1, but what is the resolution? i am used to the old 0-255, but with the -1.0 to +1.0, what is the resolution if I want to increment the drive output?
__________________


Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2009, 15:02
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: PWM maximum outputs

I can't tell you the absolute numbers, but I will add that if you view this as a mathematical expression it isn't necessary to know the resolution. The reason for choosing -1 to 1 was to allow for different resolutions and easier ways of thinking about the task. If you decide you want it linear and lets say limited to half speed, instead of wiring the joystick values to drive, wire the values over 2. If you want a third, divide by 3. If you want it to be a parabola, do the math to decide what shape you want (probably j*j/3). Anyway, that way you can easily probe what goes into the drive.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2009, 16:57
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,587
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: PWM maximum outputs

You can get the actual 8-bit numbers by delving slightly into the Motor Open vi's and the Servo Open vi. The Victors are something like 40 to 210 with a center around 133. The Jaguars are something like 3 to 252, with a center at 127. Servos are 11 to 240 or so. The numbers that define the range are the minNegativePWM and maxPositivePWM values in the PWM reference cluster.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
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
Use of PWM outputs 13-16 via WPILib sfs Programming 1 29-01-2008 09:47
Problem with PWM outputs on RC Adam Richards Control System 1 20-02-2007 06:37
pwm outputs vs. joystick y-axis stephenthe1 Programming 4 01-12-2004 17:29
Trouble with pwm outputs misterikkit Programming 16 17-01-2004 10:56
relay and pwm outputs nick_champ_2 Electrical 1 31-01-2003 13:08


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

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