Go to Post Is it legal to build 2 robots? yes. Is it crazy to do so? maybe. - Andy Baker [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, 20:24
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

When we create a WPI_MotorControlOpen.vi in LabVIEW, the motor controller type selection dropdown does not include "CAN Talon SRX" as shown on page 22 of the Talon SRX Software Reference Manual. Any suggestions on what we are missing in order to configure the motor open vi for the CAN Talon SRX?

Thanks!

Last edited by daveshike : 24-02-2015 at 20:32. Reason: punctuation
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2015, 20:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,833
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: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Does yours look anything like this one?
What else seems to be missing? Is the Victor SP missing too?

Have you copied any old code or opened any old projects?
Attached Thumbnails
Click image for larger version

Name:	MotorOpen.jpg
Views:	2
Size:	5.9 KB
ID:	18480  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2015, 20:37
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Ours looks similar, but we only have the following selections: Jaguar, CAN Jaguar, Victor and Talon.

I'm not sure if any of the team members have copied old code into the project.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2015, 20:42
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 419
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Quote:
Originally Posted by daveshike View Post
Ours looks similar, but we only have the following selections: Jaguar, CAN Jaguar, Victor and Talon.

I'm not sure if any of the team members have copied old code into the project.
Did you by chance create a project with CRio target instead of a RoboRio target?
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2015, 20:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,833
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: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

You have last year's vi for some reason.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 24-02-2015, 21:03
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Ok. Is there a way to replace last year's vi with the updated one? BTW, when a create a new project from scratch, "CAN Talon SRX" shows up.
Reply With Quote
  #7   Spotlight this post!  
Unread 24-02-2015, 21:09
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Quote:
Originally Posted by jman4747 View Post
Did you by chance create a project with CRio target instead of a RoboRio target?
I didn't create the project. Do you know a way to check that we have the correct target?
Reply With Quote
  #8   Spotlight this post!  
Unread 24-02-2015, 21:12
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,833
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: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Check to see where the Motor Open is being loaded from.
In the Project Explorer window, click on the Files tab and you should see something like the attached.

Look for any paths out of the LabVIEW 2014 tree structure.
The only two directory trees you should see are the LabVIEW 2014 and the Users -> ... -> Documents -> LabVIEW Data -> your project name
Attached Thumbnails
Click image for larger version

Name:	ProjectFiles.jpg
Views:	3
Size:	73.8 KB
ID:	18481  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-02-2015 at 21:15.
Reply With Quote
  #9   Spotlight this post!  
Unread 24-02-2015, 21:15
jman4747's Avatar
jman4747 jman4747 is offline
Just building robots
AKA: Josh
FRC #4080 (Team Reboot)
Team Role: CAD
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Atlanta GA
Posts: 419
jman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond reputejman4747 has a reputation beyond repute
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Quote:
Originally Posted by daveshike View Post
I didn't create the project. Do you know a way to check that we have the correct target?
Open project the explorer and see my attachments.

Edit: What Mark said too.
Attached Thumbnails
Click image for larger version

Name:	C-Rio.JPG
Views:	11
Size:	45.4 KB
ID:	18482  Click image for larger version

Name:	RoboRio.JPG
Views:	8
Size:	64.0 KB
ID:	18483  
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080

Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812

#banthebag
#RIBMEATS
#1620
Reply With Quote
  #10   Spotlight this post!  
Unread 24-02-2015, 21:27
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Did you uninstall last year's LV before installing this years software? I always wondered what to expect if that was skipped.

"Uninstall Old Versions (Recommended)"...
http://wpilib.screenstepslive.com/s/...5-labview-only
Reply With Quote
  #11   Spotlight this post!  
Unread 24-02-2015, 21:47
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Thanks, everyone, for your help and advice. We'll continue working on this tomorrow. Hopefully we'll get it all sorted.
Reply With Quote
  #12   Spotlight this post!  
Unread 25-02-2015, 07:22
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,752
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: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

The uninstall doesn't cause this. I have three year's of FRC on my same VM. The conflicts, if any, will be at the library and drivers, not the VIs or EXE.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 25-02-2015, 20:23
daveshike daveshike is offline
Registered User
FRC #4655 (State Line Robotics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2013
Location: Rockton, Il
Posts: 6
daveshike is an unknown quantity at this point
Re: Can't configure WPI_MotorControlOpen.vi for "CAN Talon SRX" motor controller

Thanks, Mark, Josh, Omar, and Greg. The project was using the wrong API location. We found the needed VIs in the correct API location and used them.
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 21:27.

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