![]() |
Potentiometer code
|
Re: Potentiometer code
Victors are connected to window motors.
And window motors controls the arm. Angle(min) = 30 degrees. Angle(max) = 120 degrees. |
Re: Potentiometer code
It won't work, although your angles are calculated correctly.
The setpoint input (the desired position) must be is the same units as the process variable (the current position). The potentiometer is in volts: 0-5v You can either convert the pot voltage to match your angle range, or change your angles to be the pot voltage range. The pot voltage min/max range will have to be measured by moving the arm to it's minimum/maximum position and reading the pot value through the LabVIEW front panel or a LV probe. |
Re: Potentiometer code
Thank you really much Mark !!!!
|
Re: Potentiometer code
Quote:
|
Re: Potentiometer code
Quote:
LabVIEW means we don't need multi-meters.:) |
Re: Potentiometer code
1 Attachment(s)
I attached a VI I wrote to handle scaling of analog inputs, it assumes your Potentiometer has a linear taper (some have log tapers) Min and Max voltage are the voltages at the min and max angles, not necessarially 0v and 5v
|
| All times are GMT -5. The time now is 10:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi