Go to Post Why is it considered shameful to do the smart thing? As the saying goes, "I don't make the rules, I just live by them." - Chris Hibner [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 17-02-2013, 18:22
2144 2144 is offline
Registered User
FRC #2144
 
Join Date: Feb 2012
Location: Ca.
Posts: 5
2144 is an unknown quantity at this point
Exclamation How to Compile Labview code to an .exe

Hi robot enthusiasts,
I have been having trouble figuring out how to compile Labview code into an executable file.

I have tried building the code by expanding RT CRIO Target -> right click FRC Robot Boot-up Deployment under Build Specifications and tried both Building and Run as Startup.

So far it has output the code to a folder in my documents that contains a folder named "c" and a file called "depinstr.bin" Is this C code? How do I get an executable to run with the driverstation in the competition? I have looked here: http://www.chiefdelphi.com/forums/sh...d.php?t=111632
and also on the ni website: http://zone.ni.com/reference/en-XX/h...and_alone_app/
but can't quite get what I want.

Anything else I need to know? Thank you,
2144 Programmer
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2013, 18:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How to Compile Labview code to an .exe

The c is a folder or directory and in it is the ni-rt, then startup, and in that startup.rtexe.

Does the Build succeed? If so, you should be able to Run as Startup which will cause the cRIO to reboot, and the DS should show the code running. The boot time is somewhere between 20 and 30 seconds.

Greg McKaskle
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 04:27.

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