View Single Post
  #9   Spotlight this post!  
Unread 02-08-2015, 17:03
Ari423's Avatar
Ari423 Ari423 is online now
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 585
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Detecting if the code runs from the PC or the RoboRIO

Quote:
Originally Posted by GuyM142 View Post
I want to try your method but I don't have enough experience with LabVIEW strings. Can you post here the code that does what you have explained?
Sorry it has taken me so long to get back to you, I haven't had access to a computer with LabVIEW on it.

Here is the sample code (you can drag and drop it into a vi and it will automatically render as LabVIEW code):
Click image for larger version

Name:	tmp.png
Views:	18
Size:	12.7 KB
ID:	19245

It should return true if it is running in debug mode and false if it is running as part of a build. Let me know how it works out.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote