LabVIEW Champion Roger Isaksson loves these tools and learns by creating technically challenging problems to apply them to. Recently he has wrapped his head around CAD and modelling tools. In this video of an inverted pendulum Roger uses SolidWorks Motion Assembly. In the assembly there is an inverted pendulum connected to a sled, which is controlled with a stepper motor. The SolidWorks Assembly stepper motor and two virtual sensors (sleigh position and pendulum angle) is then integrated with LabVIEW and NI SoftMotion. A control VI reads the data from the virtual sensors and generates stimuli to the stepper motor using the LabVIEW Control Design and Simulation toolkit.
The code can be found on the NI Developer Community
By Martin Peeker