Go to Post What good will it do to have 10,000 teams who barely have a clue and are just scraping by versus 2,000 teams that are actually sustainable? - Cory [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 24-02-2015, 07:38
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: Error -63195 on DIO and Analog Opens

You have two different errors there. One is pretty straightforward, and one is confusing.

The easy one is the one about the gyro. It is coming from a VI that you didn't attach, and is most likely telling you that you are reading the gyro from something other than channel 0 or channel 1. The accumulator for the gyro exists on only those channels. The error is not from Begin, but from the BuildCustomDashboardData VI.

The harder one is saying that the FPGA handle hasn't been opened before someone tries to use it, or it has been closed. In order to optimize the runtime, some of the libraries in the past have had this bug. I looked and found the call to load the FPGA in the DIO function and elsewhere.

Looking at the report below, I think the first error is actually the PWM one. I guess the first thing I'd do is open Begin and push the pause button. Clear the error display, and run Robot Main. It should stop in begin, and you can single step over the Open calls and see which runs first and which produces the error.

I'll PM you to get the rest of your code and see if I can reproduce the error with my installation and controller. Also, have you contacted support for this?

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2015, 11:04
MikeF1617 MikeF1617 is offline
Registered User
AKA: Michael Fischler
FRC #1124 (UberBots)
Team Role: Programmer
 
Join Date: Sep 2013
Rookie Year: 2013
Location: United States
Posts: 15
MikeF1617 is an unknown quantity at this point
Re: Error -63195 on DIO and Analog Opens

Quote:
Originally Posted by Greg McKaskle View Post
The easy one is the one about the gyro. It is coming from a VI that you didn't attach, and is most likely telling you that you are reading the gyro from something other than channel 0 or channel 1. The accumulator for the gyro exists on only those channels. The error is not from Begin, but from the BuildCustomDashboardData VI.
The gyro used to work before these errors, so I believe this error results from the errors with opening analog channels. Also, the errors repeat, as in they keep popping up on the driver station even if you clear errors, so the ones I posted are not necessarily in order and may not be all of the errors, since they look similar but with different call chains.

Quote:
Originally Posted by Greg McKaskle View Post
I guess the first thing I'd do is open Begin and push the pause button. Clear the error display, and run Robot Main. It should stop in begin, and you can single step over the Open calls and see which runs first and which produces the error.
I'll try that the next chance I get.
Thanks
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2015, 21:59
MikeF1617 MikeF1617 is offline
Registered User
AKA: Michael Fischler
FRC #1124 (UberBots)
Team Role: Programmer
 
Join Date: Sep 2013
Rookie Year: 2013
Location: United States
Posts: 15
MikeF1617 is an unknown quantity at this point
Re: Error -63195 on DIO and Analog Opens

Update
The source of the error is the error out from the FPGA read/write function shown in the attached images. Both images are the same, except they have the error text scrolled differently in the probe watch window so you can read it all.

This function is in the FPGA_SystemOpen.vi in the WPI library. The reason for it not working is still unknown, and it does indeed output an FPGA reference of 0x00000000 where the functioning (old) code outputs valid references. And the current code outputs valid references if you deploy the old code then the new code. It just does not make sense.

At this point it seems like the best possible route is to take the working code and bring it up-to-date, unless a solution is found by tomorrow, since we have a competition this weekend. I very much would like to find a solution to this, since it seems this error has never been really solved by anyone, people have just found ways around it.
Attached Thumbnails
Click image for larger version

Name:	rest of the error.png
Views:	40
Size:	541.5 KB
ID:	18485  Click image for larger version

Name:	the root of all problems.png
Views:	30
Size:	541.5 KB
ID:	18486  
Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2015, 23:09
MikeF1617 MikeF1617 is offline
Registered User
AKA: Michael Fischler
FRC #1124 (UberBots)
Team Role: Programmer
 
Join Date: Sep 2013
Rookie Year: 2013
Location: United States
Posts: 15
MikeF1617 is an unknown quantity at this point
Re: Error -63195 on DIO and Analog Opens

Solved
This issue was solved (thanks to Greg McKaskle for figuring it out) by deleting two charts from an autonomous driving VI. This solved the issue because there was likely a memory corruption relating to those charts. I was a bit suspicious of this VI, since occasionally it would not deploy along with the rest of the project, even though it was clearly a dependency.
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 10:21.

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