Go to Post Your not a robot (and they aren't perfect either) - Conor Ryan [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2016, 20:01
ICE_Bear ICE_Bear is offline
Registered User
FRC #5875 (ICE)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Northern Nevada
Posts: 71
ICE_Bear is an unknown quantity at this point
Re: Help program.

Quote:
Originally Posted by Alan Anderson View Post
The snippet Mark posted shows how to control any motor you like. He called it "Motor 1" in his example. You can call it whatever you want in the string wired to the Refnum Get. Just Open it as PWM4 in Begin, and wire the device reference to a Refnum Set with the same name.
how are you supposed to do that in Begin.vi?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2016, 21:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help program.

Quote:
Originally Posted by ICE_Bear View Post
how are you supposed to do that in Begin.vi?
Do it the same way you open any resource.
Attached Thumbnails
Click image for larger version

Name:	put in Begin.png
Views:	11
Size:	13.9 KB
ID:	20123  
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2016, 21:42
ICE_Bear ICE_Bear is offline
Registered User
FRC #5875 (ICE)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Northern Nevada
Posts: 71
ICE_Bear is an unknown quantity at this point
Re: Help program.

Sorry if i came off rude. The program still isn't working, is there anything we may not have done?
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2016, 22:18
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help program.

Quote:
Originally Posted by ICE_Bear View Post
The program still isn't working, is there anything we may not have done?
There are many things you might not have done. Instead of having us go through all the things detailed in the Screensteps documentation, though, how about you showing us what you have done? Posting your code for us to look at will be a lot faster than going back and forth with "did you do this? and this? and this too?"
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2016, 22:40
ICE_Bear ICE_Bear is offline
Registered User
FRC #5875 (ICE)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Northern Nevada
Posts: 71
ICE_Bear is an unknown quantity at this point
Re: Help program.

Thank you for all your help. we just forgot to plug in the PWM.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 07:47.

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