Go to Post Step 1. Understand the game and how to win the match and the event. - Chris Fultz [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 23-01-2010, 17:59
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 256
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: 2CAN Plugin Released

I'm now having an issue with the 2CAN plugin vs. camera dashboard. If the 2CANPlugin is loaded in StartupDlls, I get no camera at the dashboard (or camera data inside the UserProgram). If I delete the 2CANPlugin from the list of StartupDlls and reboot the cRIO, I get camera data at the dashboard. Any suggestions? I'm guessing there's some sort of networking contention issue between the UserProgram and the plugin? There is no CANJaguar code in the UserProgram, only camera dashboard/processing.
Reply With Quote
  #17   Spotlight this post!  
Unread 24-01-2010, 03:31
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 2CAN Plugin Released

Quote:
Originally Posted by peterjohnson View Post
The first time around we didn't follow the 2CAN instructions exactly, and put the reference to FRC_2CANPlugIn before FRC_UserProgram like the black jaguar plugin instructions tell you to. Apparently the FRC_2CANPlugIn uses some functions in WPILib (Synchronization class) that aren't loaded until the FRC_UserProgram is loaded, which is why we got the errors the first time around. Moving the 2CAN plugin after the UserProgram fixed this error and allowed the plugin to load.
The plugin needs to be loaded before the user program so that when the user program tries to use the CANJaguar class it won't get an error about the plugin not being loaded. The plugin definitely needs to not depend on WPILib entry-points.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Legality of the 2CAN Geek 2.0 FRC Control System 9 19-01-2010 20:51
cRIO plugin problem gabrielse National Instruments LabVIEW and Data Acquisition 3 18-12-2008 11:30
Eclipse Plugin Maintaineer? duane Programming 21 31-10-2006 22:34
Lego 3dsmax plugin? Ian Curtis 3D Animation and Competition 4 03-04-2005 18:59
inventor plugin Lev 3D Animation and Competition 0 05-01-2003 22:53


All times are GMT -5. The time now is 06:19.

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