View Single Post
  #7   Spotlight this post!  
Unread 11-03-2016, 21:58
Matt-T-FRC Matt-T-FRC is offline
Electrical Engineering Student
AKA: Matt Tisovic
FRC #6181 (Northwest State Cryptic Cyborgs)
Team Role: Electrical
 
Join Date: Feb 2016
Rookie Year: 2012
Location: Northwest Ohio
Posts: 29
Matt-T-FRC is an unknown quantity at this point
Re: Compressor Programming in LabView

Quote:
Originally Posted by snotsdelta View Post
we got the PCM to enable and the compressor light was green. we also got these errors
ERROR 91 Variant To Data in WPI_SolenoidRefNum Registry Get.vi->Teleop.vi->Robot Main.viLabVIEW: The data type of the variant is not compatible with the data type wired to the type input.

ERROR -44007 FRC: The RefNum you are trying to Get does not exist in this RefNum Registry. WPI_SolenoidRefNum Registry Get.vi

ERROR -44007 FRC: The RefNum you are trying to Get does not exist in this RefNum Registry. Teleop.vi
Alright, to solve the -44007 errors, make sure that your using the same refnum registry name in begin, Teleop and finish. In begin and finish you have Shooter Solenoid, but in Teleop you have Shooteer Solenoid.

To solve the 91 error, in the begin vi, set the solenoid to a double instead of a single solenoid from the drop down menu. Next, set the forward and reverse channels that the solenoid is wired to. After that, in the teleop.vi, change the On to a Forward and the Off to Reverse. I also attached a revised select function to drag and drop into the teleop.vi if you would like to do it that way.

That will fix both of those errors. Also, do you have a picture of how this solenoid is wired?
Attached Thumbnails
Click image for larger version

Name:	6056 Solenoid.png
Views:	8
Size:	8.4 KB
ID:	20333  
Reply With Quote