Quote:
Originally Posted by cilginbilgin
We got our compressor working by this code however our solenoids dont work. Any suggestions or recommendations??
|
It is generally bad practice to use Open inside teleop. Instead, use Open in Begin, then insert to a RefNum Registry Set and give it a name. In Teleop, use Refnum Registry Get. Then give it a command. See how the default code has the joystick and RobotDrive. All you have to do is use the same palette as what you're working with.
Try the Compressor With Cylinder example, see if it works. Don't forget to change the RT CompactRIO Target IP address by changing its properties.