![]() |
Periodic Tasks
I noticed THIS in the Periodic Tasks section. Does this mean that I have to do something with all the motors and solonoids and everything or what? I'm confused.
|
Re: Periodic Tasks
You don't have to do anything in Periodic Tasks, other than what you've done with the compressor loop.
The rest of that is just an example and an empty framework of what you could do. |
Re: Periodic Tasks
Should I delete the example code? And am I done with the compressor code?
|
Re: Periodic Tasks
It depends. Are you using a compressor?
|
Re: Periodic Tasks
Yes i am. :)
|
Re: Periodic Tasks
Alright, then all you need to do is remove the Diagram Disable/Enable Structure from the Loop in Periodic Tasks.vi. Then you're all set to use the compressor elsewhere in the code!
|
Re: Periodic Tasks
So in other words, this:
![]() |
Re: Periodic Tasks
Pretty much. To get rid of unneeded code, delete everything other than the While loop controlling the LED flash rate and your compressor code. I'd also right click on the Diagram Enabled structure and click Remove Diagram Enable Structure, as it's not needed.
|
| All times are GMT -5. The time now is 11:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi