Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67066

PWM servo control works in FPGA, not from Real Time

$
0
0

Hello,

 

I'm using the example Robotics/Motion Control/PWM Width Modulation.lvpropj to control a servo, using CompactRIO and LabVIEW. I've modified the example and replaced the high period ticks with slides in the FPGA front panel. It works fine moving the servos, however when I move the slides to a real time VI and try sending the data to FPGA something goes wrong. The servos don't move at all, but by using probes the data seems to come through. What can be the error?

 

I've attached screenshots of my code (note that the wires are broken since the CompactRIO isn't connected) and would be thankful if someone could take a look at it. Thank you!


Viewing all articles
Browse latest Browse all 67066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>