Go to Post You've got to love the great connection between FIRST teams, and their members. - zakk [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 04-02-2017, 14:23
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
Error 1026 On Labview - Nothing works...

On our drivert station we have all green lights, comm, code, and joysticks. The joysticks are working according to the DS but it continuously gives us the following error
Error 1026: Property Node in FPGA_SystemAsync VI Agent.viLabVIEW: VI Revference is invalid.

No motors on our robot responds to the joysticks.

We don't know how to save our code as a single file so it can be posted (or backed up for that matter).

Any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 16:56
BrennanB's Avatar
BrennanB BrennanB is offline
TBC is good at getting almost first
AKA: Brennan Bibic
FRC #4476 (W.A.F.F.L.E.S.)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Kingston
Posts: 1,303
BrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond reputeBrennanB has a reputation beyond repute
Re: Error 1026 On Labview - Nothing works...

Can you screenshot your teleop vi, and begin vi?

LabView saves under a directory, with the project file being the connector between all the vi's.
__________________

Brennan Bibic - @b_bibic - Eh-Nalysis
10 years of inspiration compilation - W.A.F.F.L.E.S. #4476 YouTube Channel - 64 events and counting!

FRC 2013-2017 (W.A.F.F.L.E.S. Community Robotics #4476) - FLL 2006-2017 (W.A.F.F.L.E.S. #105) - VRC 2010-2013, 2015-2016 (W.A.F.F.L.E.S. #4476)
FRC 2009-2012 (K-Botics #2809)

Fantasy First 2014-2017 (The Breakfast Company) #TBCWin
2014 Dean's List Finalist

"Work until your idols become your rivals."
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 17:01
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,945
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...

The project folder is in Documents/LabVIEW Data/2017 Robot Project (or whatever name you gave your robot project).

I'd recommend position either a .zip of the whole folder or the .vi files themselves. Screenshots are less useful for locating typo errors.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2017, 15:02
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...

Thanks for the info on backing up the program and where to find the folder.

I'll post a .zip when I'm back at school tomorrow.
Reply With Quote
  #5   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
  #6   Spotlight this post!  
Unread 06-02-2017, 15:50
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,945
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
  #7   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
  #8   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: 149
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
  #9   Spotlight this post!  
Unread 07-02-2017, 10:41
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,945
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
  #10   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: 149
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 19:49.

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