LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO PWM FPGA

I have purchased the NI myRIO Mechatronics Kit and attached the Motor adapter board to the myRIO device. My goal is to control my motor with PWM using the FPGA chip on the myRIO device. I know that the FPGA has a limited number of VIs and the PWM express VI does not appear as a selection. Can someone please how to get PWM to work on FPGA with my motor adapter board. Thanks.

0 Kudos
Message 1 of 6
(1,914 Views)

I have attached a picture of my code.

0 Kudos
Message 2 of 6
(1,884 Views)

Hi can we contact to know more details as i worked in the same before

CLA
0 Kudos
Message 3 of 6
(1,849 Views)

I just showed your picture to a myRIO connected to my PC, and it failed to respond!  Maybe if you attach actual LabVIEW code that a myRIO can understand ... 

 

Bob Schor

0 Kudos
Message 4 of 6
(1,841 Views)

How do I use the FPGA VIs to create a PWM signal? Can someone please send me some example code?

 

 

PWM with FPGA VIs.PNG

0 Kudos
Message 5 of 6
(1,885 Views)

I am not sure where you have got those VI's from. I am guessing it is part of an example template that I haven't come across.

 

This is one way of doing PWM on FPGA

 

FPGA PWM.png

0 Kudos
Message 6 of 6
(1,832 Views)