Go to Post The Championship is not always about bringing the robot...it's about learning, experiencing, and celebrating FIRST. - Jessica Boucher [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 11-02-2010, 16:25
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: LabVIEW project crashing

I am not getting any errors at all. That is my issue. This is the steps I take after adding the analog stuff.

Start driver station.exe

Temp Deploy code (press play at the top)

I probed some stuff to make sure it was working. It was.

I pressed enable on the DS.

All my probes then stopped working completely.

I also did the same thing in the debug watching thing. (The light bulb). It stopped running after the 2nd loop, after clicking "Enable." All the little dot indicator things (dots that run along the steps) just stopped moving. I get no error messages and I am still able to stop the program (Clicking stop at the top) and re-do it all over again. So it is not the LabVIEW program itself.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2010, 16:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabVIEW project crashing

Quote:
Originally Posted by koo_04 View Post
This is the steps I take after adding the analog stuff.
Start driver station.exe
Temp Deploy code (press play at the top)
Press play at the top of what, exactly?

You need to run the Robot Main vi in order for the program to execute properly. If you just run Teleop.vi, or anything other than Robot Main, it won't work.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2010, 18:59
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: LabVIEW project crashing

At the top of Labview. I will get pictures up when I can. We only work on the robot 3 days a week.

I am using Robot Main.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2010, 23:04
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: LabVIEW project crashing

Uploading the code itself would work as well.
__________________
-- Marshal Horn
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2010, 02:17
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,751
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: LabVIEW project crashing

This is why I asked what the crash was. If you can still click on buttons in the LV editor, it is not crashed. If it responds and the code on the cRIO stops running, then it also was not crashed or hung.

If it repeatably stops doing what you want when the program reaches a certain point, perhaps you should inspect that code, post a picture and ask questions about it. If that code does something timed such as delay for 60 seconds, and if it does it during the teleop loop, that would explain your symptoms.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2010, 00:25
koo_04 koo_04 is offline
Registered User
FRC #2493
 
Join Date: Dec 2008
Location: California
Posts: 47
koo_04 will become famous soon enough
Re: LabVIEW project crashing

Okay, so after some frustration attempts, yelling, and asking the program to work. It still did not work... BUT I gave up and started from scratch with a new project and after a while it started working again.

For now, I believe the problem is solved. If I end up running into this problem again, I will be back with more details and such.

Thanks for the help, you guys are awesome.

I hope to be much better with labview at some point in time soI will be able to help the people who run into problems like this also.

Thanks again.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vision Code crashing flameout Java 1 26-01-2010 21:27
DS crashing ThisAintJeff FRC Control System 3 14-12-2009 14:48
Help with Personal labview project ZInventor NI LabVIEW 5 02-03-2009 09:00
Crashing the Internet MattK Chit-Chat 17 03-05-2003 12:28
Max Crashing SGK 3D Animation and Competition 11 02-02-2003 20:51


All times are GMT -5. The time now is 11:59.

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