10-24-2019 07:11 AM
Hello guys! I have the following problem: I am trying to control the Ball and Beam System from Acrome Robotics using the NI myRIO controller and the VI attached. I want to excite the system using a sine signal and collect the data read from the potentiometer regarding the position of the ball. I have managed to read the values successfully but I can't translate motion to the system continuously in order to collect the data I want. The function 'Angle_to_PWM.vi' converts an angle value (in degrees) to a PWM value but it seems to convert only one value and does not produce different PWM values for all the values of angle I am sending during the simulation. Anyone has any idea of how I could acomplish that ?
Solved! Go to Solution.
10-24-2019 07:37 AM
Excuse me for the mistake. Problem was a sily mistake. I had not turned the action controller into true.