View Single Post
  #4   Spotlight this post!  
Unread 28-02-2011, 16:25
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,112
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: Compressor not autostarting

Quote:
Originally Posted by 3286 View Post
Well we followed the instructions that came with the build kit and it activated the compressor but at the push of a button.
What instructions are you referring to?

Quote:
We want to activate it automatically.
The quick answer is to place a Compressor Open function in Begin.vi, and wire its device reference output to a Compressor Start function. That'll do it.

You really ought to follow through and store the reference using a Compressor Refnum Set, so you can do a Refnum Get and a Close in the Finish.vi when the program completes. If you leave that step out, it's no big deal, since in normal operation the code never actually does complete.
Reply With Quote