View Single Post
  #6   Spotlight this post!  
Unread 16-02-2009, 13:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: need help with compressor code

See all those red dots on your Compressor Open VI? They're telling you something. You can't always use an integer when an enumerated type is expected. Something is probably off by one from what you think you're telling it.

Delete those integer constants (remembering what they are, of course). Right-click on each input of the VI and choose "Create constant" from the pop-up menu. Then you can choose the correct relay number and module number and Digital I/O number from the enumerated constants that appear.
Reply With Quote