Go to Post In the professional world, spelling mistakes, grammatical shortcuts, leet-speek, and misused verbiage are not interpreted as signs of cute, efficient communications. They are indicators of illiteracy, inefficiency, unprofessional behavior, and sloppy work habits. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 27-02-2010, 17:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,880
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: need a simple motor program

Did you find the single motor palette okay?
It can be gotten to in two different places:
WPI Robotics Library -> Actuators -> MotorControl
or
WPI Robotics Library -> RobotDrive ->Advanced -> MotorControl
----------------------------------------
Begin.vi -- open everything here
  • Motor Open (open the PWM and tell LabVIEW what it's going to be)
  • Motor Refnum Set (name your motor)
Teleop.vi -- use everything here
  • Motor Refnum Get (usually kept outside the case, so it can be used in all cases if necessary)
  • Motor Set speed (inside the Teleop Execute case)
Finish.vi -- close everything here
  • Motor Refnum Get
  • Motor Close
I removed much of the cluttering default code in these screen shots.
Attached Thumbnails
Click image for larger version

Name:	MotorExampleB.jpg
Views:	33
Size:	34.3 KB
ID:	8820  Click image for larger version

Name:	MotorExample.jpg
Views:	48
Size:	34.7 KB
ID:	8818  Click image for larger version

Name:	MotorExample3.jpg
Views:	36
Size:	34.9 KB
ID:	8819  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-02-2010 at 17:42.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with simple program Rob Stehlik C/C++ 2 23-10-2009 15:00
pic: Motor program Team2339 Extra Discussion 3 30-01-2009 15:56
Need a simple challenge for VEX summer camp Andrew Schuetze Math and Science 5 05-04-2008 21:46
EasyC Question regarding simple program aeasson Programming 6 14-01-2008 23:16
HELP writing simple delphi program! dave_macca Programming 1 25-03-2004 00:35


All times are GMT -5. The time now is 22:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi