Go to Post Look for metal shavings in a pwm port; that's caused us to crash plenty of times. - Gary Dillard [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 07-02-2011, 16:52
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Conflict Resolution

We have tried uninstalling and reinstalling the Labview program and even installed it on another computer but we keep getting the same conflicts for some reason.
Click image for larger version

Name:	robotconflict.jpg
Views:	56
Size:	109.4 KB
ID:	10018
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2011, 16:57
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: Conflict Resolution

That isn't an error message. It's just an informational warning letting you know that there is a program already running on the cRIO, and it will be be shut down if you continue with the process of deploying.

Since that's what you want to happen, just click OK and let it continue.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2011, 17:06
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Re: Conflict Resolution

We've continued but the robot code does not show up when we deploy it.

EDIT: We have re-imaged the cRio and the robot code loads fine, but it will not respond to the joystick. The laptop reads the joystick inputs but the robot itself won't move.

Last edited by 3286 : 07-02-2011 at 17:18.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2011, 18:10
Baconfly Baconfly is offline
Registered User
AKA: Tylor
FRC #3330
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: St.Louis
Posts: 9
Baconfly is an unknown quantity at this point
Re: Conflict Resolution

Sorry to ask, but is the refnum for the joystick the same in the teleop.vi as in the begin.vi?
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2011, 20:29
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: Conflict Resolution

Quote:
Originally Posted by 3286 View Post
We have re-imaged the cRio and the robot code loads fine, but it will not respond to the joystick. The laptop reads the joystick inputs but the robot itself won't move.
Just to get the question out of the way before we go deeper into debugging:

Have you clicked the "enable" button on the Driver Station in order to enable the robot?
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2011, 15:50
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Re: Conflict Resolution

We enabled it. We got Error code "44061 occured at Left and Right motor in the VI path in Main.VI"
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2011, 16:11
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: Conflict Resolution

Quote:
Originally Posted by 3286 View Post
We enabled it. We got Error code "44061 occured at Left and Right motor in the VI path in Main.VI"
That most likely means the "watchpup" has decided you're not updating the motor speeds often enough. If you added any programmed delays in Teleop, that could cause it. Intentional delays or long-running loops are rarely the right answer.

What have you changed from the default robot project?
Reply With Quote
  #8   Spotlight this post!  
Unread 08-02-2011, 16:45
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Re: Conflict Resolution

Here is the most current situation. Reinstalled all 3 of the updates for 2011. Deleted all of the saved FRC2011 project files from our documents ( the existing code that would be written and deployed to the crio from our computer ) Reimaged the crio. Built, deployed and ran at start up the FRC 2011 canned code from Labview, with no changes to it whatsoever. Still getting the 44061 error. Driver station shows the pwm width changing on the status bars when the joystick is moved in any direction. Camera is working.

Error in execution in loading the program? Could we have somehow corrupted the files in our laptop? We could uninstall and reinstall labview and the 3 updates easily enough, we have lost a ton of time here but seem to be running out of logical answers.

The odd thing, it actually did work prior to trying to integrate the compressor vi's from the labview examples. Last year the compressor portion was already in the FRC canned code and this year it appears not to be.

Thanks again

Mike
Reply With Quote
  #9   Spotlight this post!  
Unread 08-02-2011, 18:26
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,795
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: Conflict Resolution

The -44061 error is not your fault.

The 3.0 version of the default Framework, without changes, generates that error for everyone.
The LabVIEW 3.1 Update that was just released fixed that small oversight.

In Periodic Tasks.vi there is an LED toggle function that runs in a loop of 0ms by default and drains the CPU dry.
So, in projects based on the original version of the Framework, the CPU usage is at 100% when the project first starts up.
It gets better once you Enable from the Driver Station and the original zero default value gets overwritten with a bigger number.

They fixed that default value in 3.1 so projects created after applying the 3.1 update won't show that error.

To fix your pre-3.1 project you just need to change the default value of that LED toggle.
  • From the Project Explorer window, go to the file called Robot Global Data.vi.
  • You'll see LED Toggle Rate (ms) with a value of 0.
  • Change the 0 to 1000
  • Right-click on the value and choose Data Operations->Make Current Value Default
Then Build and Run as startup again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2011 at 14:49. Reason: commas, mostly
Reply With Quote
  #10   Spotlight this post!  
Unread 09-02-2011, 14:25
3286's Avatar
3286 3286 is offline
Registered User
AKA: mike s
FRC #3286 (the Rock-It surgeons)
Team Role: Teacher
 
Join Date: Jan 2010
Rookie Year: 2009
Location: yakima, washington
Posts: 37
3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of3286 has much to be proud of
Re: Conflict Resolution

Alan, Mark...THANK YOU VERY MUCH, thank everyone who replied. We have had a huge exercise in wondering " WHY " because we had a successful deploy and run and then we didnt, and we chased everything that seemed logical wondering if it was something we had changed or not. That was why we tried several re imaging and re deploying, even to the point of uninstalling and reinstalling the software and updates.

My size 13 boot would love to stop kicking myself in the backside, was this generally well known and did we miss it in a update or post somewhere along the way or was this discovered the hard way and result in lots of other teams having the same frustration and lost time? Theres that part of me that would love to pass the blame somewhere , but that wont help anything now, so I guess Ill pull my big boy pants up and move along.

Mike

EDIT: We have been getting the same error message over and over again. From the picture on the first post there says there is a conflict but we can't locate the conflicts. Is there any way to check where the conflicts are located? We've tired backtracking them manually but to no avail.

Last edited by 3286 : 09-02-2011 at 17:05.
Reply With Quote
  #11   Spotlight this post!  
Unread 09-02-2011, 20:54
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: Conflict Resolution

Quote:
Originally Posted by 3286 View Post
EDIT: We have been getting the same error message over and over again. From the picture on the first post there says there is a conflict but we can't locate the conflicts. Is there any way to check where the conflicts are located? We've tired backtracking them manually but to no avail.
The "conflict" is between the code that's already running on the cRIO and the code that you're deploying to it. You're telling the system to accept a "Real-Time Startup Application", and it's letting you know that there are things running that it will have to stop in order to continue. That is a normal part of the process. It isn't an error message. Don't worry about it.
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 09:20.

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