|
Re: How do i program compressor
We also had many difficulties running the compressor example codes and our code. What worked for us in the code was to incorporate a teleop vi also.
In Begin:
Compressor open--->Compressor Start--->Compressor Refnum set
In Teleop:
Compressor Refnum Get---> Compressor Enabled
In Finish:
Compressor Refnum Get--->Compressor Stop--->Compressor Close
From my understanding you need to have the compressor enabled vi in order to run the compressor. Some teams open it in the begin vi before the Refnum set, but mine works fine in the teleop
If it still doesnt work, I have some tests to help you pinpoint the problem.
|