I’m just learning LabView, and I have an extremely basic question – how do you run a motor using LabView? I know that it’s supposed to be run through a serial port, but how do you write a program to output in that way? I used several different tutorial sites, but none of them addressed this, and I can’t find it through Google. Also, I’m not exactly a natural-born programmer. Any help is appreciated.
Motors can be run many different ways; for the FRC competition, they are controlled via PWM signals from the Digital Sidecar (not through a serial port).
I suggest making sure you have the FRC version of LabVIEW installed (from a disk that came in the Kit of Parts), along with the update. Use the FRC NI training materials to learn how to control a motor using the WPI Robotics Library sub-vis. Start with the default project, make sure it works, and then edit.
There are also several run-able example vi’s in the National Instruments/Labview/examples/FRC (-ish) folder.