Go to Post FIRST may very well be the healthiest drug on the market. - Herodotus [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 24-01-2017, 20:56
klink135's Avatar
klink135 klink135 is offline
The one dat pushes da buttons
AKA: Max Jorgensen
FRC #5050 (Cow Town Robotics)
Team Role: Programmer
 
Join Date: Jul 2015
Rookie Year: 2015
Location: Carleton, MI
Posts: 17
klink135 is an unknown quantity at this point
Labview Pwm/DIO ERROR -63195, need help

Labview is improperly/not writing pwm/DIO channels. I am currently unable to make any pwm work. It gives me ERROR -63195, and sometimes the driver station will say no robot code even when it is deployed. I have even made a brand new default robot project and it suffers from the error.
Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	24
Size:	85.9 KB
ID:	21610  
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2017, 22:02
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,554
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Labview Pwm/DIO ERROR -63195, need help

This probably has nothing to do with it at all, but why does your PC CPU show pegged at 100%?
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2017, 22:28
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,908
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: Labview Pwm/DIO ERROR -63195, need help

Have you formatted the roboRIO with the 2017-v8 image?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2017, 05:39
klink135's Avatar
klink135 klink135 is offline
The one dat pushes da buttons
AKA: Max Jorgensen
FRC #5050 (Cow Town Robotics)
Team Role: Programmer
 
Join Date: Jul 2015
Rookie Year: 2015
Location: Carleton, MI
Posts: 17
klink135 is an unknown quantity at this point
Re: Labview Pwm/DIO ERROR -63195, need help

Tom,
I don't really know, sometimes it just spikes and nothing was done to it.

Mark,
Yes, the Roborio and all following components are updated to the most recent firmwware.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2017, 07:17
Dave Campbell's Avatar
Dave Campbell Dave Campbell is offline
Miami Valley Planning Committee
FRC #0144 (ROCK Robotics)
Team Role: Teacher
 
Join Date: Dec 2003
Rookie Year: 1999
Location: Cincinnati
Posts: 187
Dave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant futureDave Campbell has a brilliant future
Re: Labview Pwm/DIO ERROR -63195, need help

Following...same exact error has happened to us on two different Rios. Spoke with NI and they sent us a config file, still same error. Will follow up with them again today.
__________________
"Great spirits have always encountered violent opposition from mediocre minds." - Albert Einstein

FRC Team #144 Advisor
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2017, 16:32
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 64
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
Re: Labview Pwm/DIO ERROR -63195, need help

With the default project, you'll create a connection to a pair of Talon SR motor controllers on PWM0 and PWM1. If you're using a different motor controller or different PWM ports, I wouldn't be surprised to see that error.

I'm making the assumption you don't change anything with the sample project. Is that a safe assumption? If so, what PWMs are you connected to and what types of controllers? I wouldn't be shocked to hear you checked that, but for completeness we'd want to see that.

If you get an error there, I'd want to see what happens if you replace the motor initialization code with just the Open Motor VI found in WPI Robotics Library->Actuators->Motor Controller

With that, you can open a single motor rather than two at once. If you open up the motor on PWM0, do you see the same error? If not, do you see it on PWM1? Once you find a single PWM port that's causing the problem, I'd try moving the PWM to PWM2. Does the error go away? If not, try changing out the cabling. Does the error go away now? If so, it could potentially be the port.

If not, try swapping the original cabling so the two PWM ports go to the opposite motor controllers. Does the error follow the port or the controller?
__________________
Reply With Quote
  #7   Spotlight this post!  
Unread 25-01-2017, 21:19
klink135's Avatar
klink135 klink135 is offline
The one dat pushes da buttons
AKA: Max Jorgensen
FRC #5050 (Cow Town Robotics)
Team Role: Programmer
 
Join Date: Jul 2015
Rookie Year: 2015
Location: Carleton, MI
Posts: 17
klink135 is an unknown quantity at this point
Re: Labview Pwm/DIO ERROR -63195, need help

The default project worked, and I tried rebuilding my code from scratch. This went fine until I put set outputs into teleop, that caused the first error. So logically I tried removing the motors in the program. It then said that encoders were the problem, so I removed the encoders. This process repeated until I had removed every input/output on the Rio, except for the can bus, which works fine. So I dug in and tried to find the source. The errors led me to the fpga open system.vi. In there it seemed the problem was the address of the Rio. I didn't take pictures. But I will try to post some soon.
Reply With Quote
  #8   Spotlight this post!  
Unread 26-01-2017, 09:18
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 64
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
Re: Labview Pwm/DIO ERROR -63195, need help

The FPGA portion sounds a bit like a red herring.

Ultimately, all IO goes through the FPGA using a standard bitfile that you don't have to touch. If the bitfile itself was the problem, you'd have a problem right from the start. It's also a problem that every team would have because it's part of the imaging process.

You'll want to focus your attention on building out. If you start with the initial project, it includes a couple of PWM ports going to motors. If that doesn't error, you can try to add the next component on. If you're working with Command and Control, it's even easier to test in this modular mindset. Start with the drive subsystem and see if the error pops up. If it does, you know it's the most recent thing you added. Check the wiring. Check the hardware. Make sure it's responding. If it's not, you'd expect to see the error. Take a look at the lights on the motor controller when you enable. What do they tell you?
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 29-01-2017, 14:13
HSi HSi is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Ardmore
Posts: 6
HSi is an unknown quantity at this point
Re: Labview Pwm/DIO ERROR -63195, need help

Our team has had the same FPGA and device handling error show up in our driver station and prevent our code from running when we enable. This has been happening on different robots and computers, and even with blank projects, all in the past week. As far as we know, none of the hardware on the robots has changed.

Interestingly, error -63195 is always preceded at the beginning of runtime by error -63192, which says that the RIO resource name is invalid. We checked it with NI MAX, however, and the resource name seems to be fine.

We suspect the problem is in the WPI libraries at the base of LabVIEW or on the robot and know that we didn't touch that code. Occasionally, rebooting the robot/roboRIO multiple times, clearing object cache, and removing code from the roboRIO has solved the problem, but none of these solution has been consistent--the problem still occurs intermittently.

The latest method we tried was shelling into the roboRIO and removing the "frc" folder, which appears to hold the LabVIEW libraries. So far it seems to work, but we're not sure yet whether it's a permanent fix.
Reply With Quote
  #10   Spotlight this post!  
Unread 29-01-2017, 20:38
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 535
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Labview Pwm/DIO ERROR -63195, need help

We were having this error also, but we did a roborio complete format, and firmware load, and that seems to have fixed the issue.
__________________
The sooner we get behind schedule, the more time we have to catch up.

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 15:26.

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