View Single Post
  #7   Spotlight this post!  
Unread 25-01-2015, 23:23
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
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%?
Reply With Quote