Go to Post Remember that it's not what is on the outside of the shirt that matters, it's what is on the inside. - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-02-2012, 21:46
DeadlyJohny DeadlyJohny is offline
Registered User
FRC #3417
 
Join Date: Feb 2012
Location: Dallas, TX
Posts: 26
DeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to behold
Re: Periodic Tasks

Should I delete the example code? And am I done with the compressor code?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2012, 21:48
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Periodic Tasks

It depends. Are you using a compressor?
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2012, 23:17
DeadlyJohny DeadlyJohny is offline
Registered User
FRC #3417
 
Join Date: Feb 2012
Location: Dallas, TX
Posts: 26
DeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to behold
Re: Periodic Tasks

Yes i am.
Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2012, 07:45
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
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!
Reply With Quote
  #5   Spotlight this post!  
Unread 26-02-2012, 12:32
DeadlyJohny DeadlyJohny is offline
Registered User
FRC #3417
 
Join Date: Feb 2012
Location: Dallas, TX
Posts: 26
DeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to behold
Re: Periodic Tasks

So in other words, this:

Reply With Quote
  #6   Spotlight this post!  
Unread 27-02-2012, 16:06
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi