Go to Post Didn't you hear? After Atlanta, they aren't having nationals anymore. - Joe Ross [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
  #4   Spotlight this post!  
Unread 11-02-2010, 15:17
OSU_Springer OSU_Springer is offline
Babcock & Wilcox - Engineer
AKA: Bill Springer
FRC #0677 (Murphy's Outlaws)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Columbus, Ohio
Posts: 10
OSU_Springer is an unknown quantity at this point
Re: Issue with Solenoid Timing. VI Included.

I'm guessing, since you have your timed sequence built within your teleop, what is happening is that your teleop VI gets to the timed sequence and executes that loop. The problem is, while the loop is executing, the system never runs another iteration until that loop is done. That being said, what you need to do is move the timed sequence outside of the teleop vi. You will have to pull information from either the periodic tasks from main.vi, or have some way to pull time data from the cRio and compare the start time of the solenoid to the current time, and based on that have the solenoid go false if the time is greater than the period you're looking for.

Hope this is helpful.
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
solenoid with compressor vi ElanaC NI LabVIEW 42 29-12-2010 13:38
Solenoid Programming Issue. Dr. Manhattan Pneumatics 2 10-02-2009 17:42
Issue with Color Tracking Example (C/C++) and with Counters, Encoders, and Ultrasonic BradAMiller Programming 3 19-01-2009 21:24
Timing with the Driver Station Zorkinian Programming 6 10-01-2009 09:42
Playbook now included with Team 340 database archiver 2001 0 24-06-2002 01:33


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

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