Go to Post It's about picking a good alliance, not good robots. - evanperryg [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2014, 21:05
Mr.Trips Mr.Trips is offline
Registered User
FRC #3179
 
Join Date: Jan 2012
Location: adair
Posts: 28
Mr.Trips is an unknown quantity at this point
Autonomuous seminoid help :)

Hi there. I am having problems with my program when it comes to the solenoids. When I run autonomous the drive motors and the window motor are running perfectly. Then my solenoids just flicker on and off within a fraction of a second when they should clearly turn on or off for at least a few seconds. I have double checked that there are no word errors in naming, which is hard to do with Global variables, to my knowledge the wiring is correct. Also, in tele-op everything works perfectly so it is definitely not a wiring or mechanical issue just programming. And advice will help. I will also attempt to post pictures below. Sorry for any obscurity.
Attached Thumbnails
Click image for larger version

Name:	20140218_192932[1].jpg
Views:	49
Size:	75.9 KB
ID:	16320  Click image for larger version

Name:	20140218_192936[1].jpeg
Views:	34
Size:	265.1 KB
ID:	16321  
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2014, 21:08
Mr.Trips Mr.Trips is offline
Registered User
FRC #3179
 
Join Date: Jan 2012
Location: adair
Posts: 28
Mr.Trips is an unknown quantity at this point
Re: Autonomuous seminoid help :)

The first picture is the first half the second picture is the last half.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2014, 21:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomuous seminoid help :)

Your logic is very simple. I don't think the code you presented is to blame. I'd look to the code that is actually updating the motors and solenoids. Determine if it is possibly being updated from more than one place. Then check if the globals are being updated elsewhere.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2014, 17:11
Mr.Trips Mr.Trips is offline
Registered User
FRC #3179
 
Join Date: Jan 2012
Location: adair
Posts: 28
Mr.Trips is an unknown quantity at this point
Re: Autonomuous seminoid help :)

Will do thank you!
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 08:54.

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