Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Periodic Tasks (http://www.chiefdelphi.com/forums/showthread.php?t=103829)

DeadlyJohny 25-02-2012 21:17

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.

Mark McLeod 25-02-2012 21:20

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.

DeadlyJohny 25-02-2012 21:46

Re: Periodic Tasks
 
Should I delete the example code? And am I done with the compressor code?

DominickC 25-02-2012 21:48

Re: Periodic Tasks
 
It depends. Are you using a compressor?

DeadlyJohny 25-02-2012 23:17

Re: Periodic Tasks
 
Yes i am. :)

DominickC 26-02-2012 07:45

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!

DeadlyJohny 26-02-2012 12:32

Re: Periodic Tasks
 
So in other words, this:


DominickC 27-02-2012 16:06

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