# load the spindle speed ddt loadrt ddt count=1 loadrt scale count=1 net Spos ddt.0.in net Sddt ddt.0.out scale.0.in setp scale.0.gain -60 net Scmd pyvcp.commanded-spindle-speed net Sact pyvcp.actual-spindle-speed scale.0.out #run the ddt for spindle speed addf ddt.0 servo-thread addf scale.0 servo-thread