View Single Post
  #10   Spotlight this post!  
Unread 31-01-2009, 03:06
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: DIO not working in autonomous.

From your picture, the red dots at the inputs of your opens is the clue. Those are coercion dots, which means the data types didn't match, but LabVIEW took its best guess.

Those expect an enumerated type, but you wired them to a integer constant. The best way to get the enumerated type is the right click on the input and choose create constant. From there you can use the drop down menu to select which one you want (for example, DIO 1). When you do it that way, the numbering on the hardware and in LabVIEW match.
Reply With Quote