|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Periodic Tasks
It depends. Are you using a compressor?
|
|
#2
|
|||
|
|||
|
Re: Periodic Tasks
Yes i am.
![]() |
|
#3
|
|||
|
|||
|
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!
|
|
#4
|
|||
|
|||
|
Re: Periodic Tasks
So in other words, this:
![]() |
|
#5
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|