|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |