Go to Post I think that this clearly indicates that 2017 will be the year we finally see 3.63 robots per alliance. - Caleb Sykes [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 27-01-2012, 17:10
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Crio crashing when filtering.

When ever i try to filter using the example code provided by Labview my crio immediately crashes. attached is a screen shot of the code.
Attached Files
File Type: docx Screen.docx (126.9 KB, 24 views)
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2012, 18:15
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Crio crashing when filtering.

The only mistake I found in your code is in the lower left corner - the Greyscale constant isn't connected to anything.

I don't know if this could be causing the crash though. How do you know that it crashes? Have you changed any other parts of the project? (ie robot main?)

Also I'm not sure if you've noticed, but this is last year's example code. It should still work, but I don't want you to waste your time on something that you're not going to use


Oh, and by the way, please don't attach pictures by putting them in .docx files in the future. You can upload the picture itself, or even the actual .vi
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2012, 18:41
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Re: Crio crashing when filtering.

No i have changed nothing else. how i know it crashes is keeps saying waiting for real time crio to respond then it disconnects me.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2012, 18:44
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Crio crashing when filtering.

This means one of two things -

1. You are not connected to the cRIO's network.

2. Another computer is connected to the cRIO/You were connected then you disconnected improperly and tried to reconnect.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2012, 19:03
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Re: Crio crashing when filtering.

i checked all of that and none that is the case.



__________________

Last edited by Shrubadub : 27-01-2012 at 19:40.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2012, 20:41
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: Crio crashing when filtering.

I can't tell what the issue is from the source code, but when opened, I was a bit surprised to see that the vision code is from 2011. If the cRIO reboots when running the filter, then it would appear to be a crash. vxWorks is an unprotected OS, at least as of the version used for FRC, and it will crash when a serious issue arrises. One thing you may look at it whether you are running out of RAM. The Charts tab will shot the current memory usage and largest free block. If you are crashing the cRIO, that would be my first guess as to why.

Greg McKaksle
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2012, 10:24
Shrubadub's Avatar
Shrubadub Shrubadub is offline
Shrubadub
FRC #2656 (Quasics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Monroeville Pa
Posts: 26
Shrubadub is an unknown quantity at this point
Re: Crio crashing when filtering.

I updated to 2012 and that is the example code labview is giving me. Did i do something wrong.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2012, 21:29
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: Crio crashing when filtering.

What example did you open? The example that matches the white paper is called Rectangular Target Processing. The tutorial, reachable from the launch screen also walks through integrating it with the framework.

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 08:50.

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