Go to Post You know you're addicted to FIRST when to you: 4's company, 5's a crowd, and 6 is someone off-sides. - Tetraman [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 19-02-2012, 20:44
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Spending Boolean values throughout code

I am needing to know how to spend a boolean value from the teleop vi to the timed task vi, that way i can control the code. I was wondering if anyone could point me in the right direction.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2012, 21:01
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: Spending Boolean values throughout code

I havent done alot with them but what you might be looking for is a global variable but im not sure
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2012, 21:08
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: Spending Boolean values throughout code

Do you know how to set up a global variable?
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2012, 22:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Spending Boolean values throughout code

See if this helps any.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2012, 23:46
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Re: Spending Boolean values throughout code

i got the global variables working but now when i run my code the sonar that i have in the timed tasks vi only works when the code is not enabled.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-02-2012, 16:51
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: Spending Boolean values throughout code

what does your code look like in both v.i.s
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:06.

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