|
Re: Enumeration conflict error message
I would highly advise against opening and closing your objects in Teleop. Put the compressor, solenoid, and DIO opens in Begin and use a Refnum Set to pass the data between .vi's. I also see a compressor close in teleop. Move this to Finish.vi to gracefully close the reference when you stop code execution.
I would also not recommend having a timer delay in Teleop. Teleop is already its own loop and shouldn't be slowed down any more, or your robot may go into safety mode and disable outputs.
The warnings you are getting are referring to objects that are required to be wired for them to work. Specifically looking at your DIO In Get, you need a Refnum Get of the same type connected to that with the correct name you have set in Begin.vi. This will tell it what DIO channel to look at to get the value.
__________________
I'm right 90% of the time, so why worry about the other 3%?
|