![]() |
Solenoid button toggle
I was wondering where you get the button function?
![]() also, i was wondering if anyone knew why my solenoid code is not working, also it is currently spitting out random watchdog errors while the robot is running, does anyone have a solution (LABVIEW ONLY) ![]() |
Re: Solenoid button toggle
http://i1226.photobucket.com/albums/.../Untidtled.png (this was supposed to be the 2nd picture)
|
Re: Solenoid button toggle
Quote:
|
Re: Solenoid button toggle
The screen shot tells you where everything used in that image can be found.
The Feedback node is found in the Programming -> Structures palette. |
Re: Solenoid button toggle
Quote:
|
Re: Solenoid button toggle
I'm assuming you want to get the button? The button was unbundled from a cluster, and if memory serves me right, it can be found under programming->Cluster->"Unbundle by name". Hook that up to the joystick get and select what button you want to retrieve. That solenoid code wouldn't do much as it is immediately turning off the solenoid after turning it on. This happens so fast you probably wouldn't notice. The 10 mili second timer causes the delay between iterations of the big loop, and not between the two loops that the solenoids are in. Yet even that is really fast. But most importantly, why are you doing this all in your periodic tasks? If I am understanding what you are trying to do, you might want to put the code in the teleop vi for convention's and safety's sake.
|
| All times are GMT -5. The time now is 17:18. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi