Go to Post My son just said, "That's the kind of thing that you talk about in strategy sessions then say, 'nah, that would never really work.'" Un-be-freaking-lievable. - Rick TYler [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 26-02-2010, 20:54
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,752
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: cant build

No need to give respect to disagree with me. I'm basing my broken VI hypothesis from this

Quote:
"Possible reason(s):
LabVIEW: Cannot save a bad VI without its block diagram.
"
That pretty clearly shows that at the point the app builder was attempting to add/save the VI into the .out for the cRIO, that VI was broken. If it wasn't broken when the build began, it was broken during the targeted load/compile/save.

I really really don't like the error messages from the app builder, and I'm doing what I can to see that the thing is redone in the future. In the meantime, if you can send in a project and collection of VIs that reproduce this, I'll see that it is looked into. I don't really know that there are too many issues with including debugging info on the cRIO app, but clearly it is an odd workaround, and it doesn't explain what the original problem was.

Does the save terminology make more sense now? The way the app is built is that an application context describing the code format, alignment, etc is built. VIs are loaded into the context either from memory or from disk, not sure how it is done these days. After the VIs are loaded, they are compiled with the appropriate compiler settings for the target, and the code is now in the VI. Additional passes are then made to remove diagrams simplify libraries, etc. Then the VIs are saved into the EXE. It may seem odd that the save method is used to put into the EXE, but in fact even for temporary execution, the VIs are saved into a memory stream and the memory stream is sent to the cRIO.

PM and I'll give my email address for sending in the VIs. Thanks in advance.
Greg McKaskle
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build/Mechanical teams after build and integration Bomberofdoom General Forum 1 02-02-2008 13:45
Any teams build two robots to practice with after build season. (6 weeks) GVDrummer General Forum 42 24-01-2008 21:34
Cant get RC to work comphappy Control System 13 06-01-2008 18:40
I cant wait Perseus Chit-Chat 14 01-10-2002 17:43


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

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