View Full Version : Labview Rookie Question -- Motors
01-23-2009, 07:02 PM
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. :)
01-23-2009, 07:41 PM
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 (http://joule.ni.com/nidu/cds/view/p/lang/en/id/1180). Use the FRC NI training materials (http://decibel.ni.com/content/community/first) 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.
01-23-2009, 07:44 PM
There are also several run-able example vi's in the National Instruments/Labview/examples/FRC (-ish) folder.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.