|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Re: Error -63195 on DIO and Analog Opens
Quote:
Quote:
Thanks |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|