Go to Post I even liked the Bieber commercial. - 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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2017, 15:00
wrightty wrightty is offline
Registered User
FRC #6323
 
Join Date: Feb 2017
Location: Burlington, Ontario, Canada
Posts: 4
wrightty is an unknown quantity at this point
Re: Error 1026 On Labview - Nothing works...

Here is a link to a zip file of our labview program:
https://drive.google.com/file/d/0B4_...ew?usp=sharing

Just to reiterate, we are able to enable our robot but nothing moves when controllers are used (it should be driving arcade mode with 4 talons).

We are getting an error (see above) repeatedly in the driver station.

Thanks for any and all help.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2017, 15:50
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,940
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: Error 1026 On Labview - Nothing works...

In Begin you declare the same Talons multiple times.
I commented out all the Talons except for the four feeding Open 4 Motors.

Other than that, the code worked okay on my robot.

I don't get the FPGA_SystemAsync error, so that might be a corrupted roboRIO format.
You might try reformatting the roboRIO to see if that helps with the error.

P.S.
I forgot to mention that I used %V instead of Speed in Begin.vi to test with, since I didn't integrate encoders for feedback.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-02-2017 at 10:39.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2017, 16:51
wrightty wrightty is offline
Registered User
FRC #6323
 
Join Date: Feb 2017
Location: Burlington, Ontario, Canada
Posts: 4
wrightty is an unknown quantity at this point
Re: Error 1026 On Labview - Nothing works...

Quote:
Originally Posted by Mark McLeod View Post
In Begin you declare the same Talons multiple times.
I commented out all the Talons except for the four feeding Open 4 Motors.

Other than that, the code worked okay on my robot.

I don't get the FPGA_SystemAsync error, so that might be a corrupted roboRIO format.
You might try reformatting the roboRIO to see if that helps with the error.
Fantastic. Thanks for your help. I'll pass on the info to our programming group.
I appreciate the quick response.

Tyler
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2017, 09:17
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Error 1026 On Labview - Nothing works...

Are you using CAN Talon SR's? IF you are, you have to go into the RoboRIO web interface and set your device IDs for the controllers. Leave indexes 0 and 1 open for the PCM and PDP, respectively.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2017, 10:41
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,940
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: Error 1026 On Labview - Nothing works...

Quote:
Originally Posted by flemdogmillion View Post
Leave indexes 0 and 1 open for the PCM and PDP, respectively.
The indexes are device type independent, so we can have a PDP 1 and a PCM 1 and a Talon SRX 1.
They don't conflict unless they are the same type of device.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2017, 13:55
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Error 1026 On Labview - Nothing works...

Quote:
Originally Posted by Mark McLeod View Post
The indexes are device type independent, so we can have a PDP 1 and a PCM 1 and a Talon SRX 1.
They don't conflict unless they are the same type of device.
Oh. My bad then. It's good to know that now.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
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 12:23.

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