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
nevermind we found if haha it’s 1
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?
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
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.