|
Re: where did the behind-the-scenes code go?
Motor Set Output contains two implementations, CAN and PWM. The PWM scales the input according to the motor controller ranges and calls PWM set value. That VI calls DigitalModule Set PWM which calls DIO Write PWM which calls the purple node where the value is poked into a register on the FPGA.
If you are not seeing code like this, it could be that you opened and are viewing the simulated motor code. The bottom left of the VI window will tell you either My Computer or RT Compact RIO. You can right click there to change the target if needed.
Greg McKaskle
|