Go to Post To me, being in FIRST is the biggest learning experience anyone can have. I want to give that experience to everyone I can, be it now or thirty years down the line. - BandChick [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi