Go to Post Let the team grow, let them fail, let them learn and always be ready to lend a helping hand. I think that's the best way to help rookie teams. - Justin Montois [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: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-03-2010, 21:23
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
ERROR <Code> 1026

Quote:
ERROR <Code> 1026 occurred at Property Node in NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:Async VI Agent.vi
LabVIEW: VI Reference is invalid.
What does the above error mean, in English?

It appears repeatedly in the Driver Station window after autonomous completes.


~
Reply With Quote
  #2   Spotlight this post!  
Unread 24-03-2010, 23:31
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,748
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: ERROR <Code> 1026

To lookup what a LV error code means, you can select the menu item Help>>Explain Error. This is often available by right clicking on an error cluster as well.

If necessary copy in the error info, such as entering in 1026 in the decimal error, and it tells you that this indicates a bad VI refnum was wired in as a parameter somewhere in the VI called Asynch VI Agent.vi. It most likely means that one or more of the VI references registered as running asynchronously has already stopped running, so is no longer a valid reference.

Are there things not working on your robot, or are you asking out of curiosity?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2010, 10:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: ERROR <Code> 1026

Quote:
Originally Posted by Greg McKaskle View Post
Are there things not working on your robot, or are you asking out of curiosity?
Things appear to be working properly, and the programmer was perfectly happy to ignore it, but I told him that error messages are important and should not be ignored... it could come back to bite him at the worst possible time.


~
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2010, 10:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: ERROR <Code> 1026

Quote:
Originally Posted by Greg McKaskle View Post
this indicates a bad VI refnum was wired in as a parameter somewhere in the VI called Asynch VI Agent.vi.
"Asynch VI Agent" must be part of the framework, because that's sure not the name of any VI that our team created.

Quote:
It most likely means that one or more of the VI references registered as running asynchronously has already stopped running, so is no longer a valid reference.
Would this be somehow related to the framework shutting down autonomous independent when 15 seconds has expired?


~
Reply With Quote
  #5   Spotlight this post!  
Unread 25-03-2010, 11:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: ERROR <Code> 1026

Quote:
Originally Posted by Ether View Post
Would this be somehow related to the framework shutting down autonomous independent when 15 seconds has expired?
It looks like the framework is trying to shut down Autonomous Independent, but failing. This is likely because the Autonomous Independent is no longer running, having already completed before the 15 second autonomous period ended. I'd place that error in the same category as the powerup message warning that the Cypress board cannot be found -- it is expected behavior if the board is not connected.

The other possibility is that Autonomous Independent is inappropriately being run explicitly by user code, so the framework code that tries to run it (and delete it) as an actual independent task cannot do its job.
Reply With Quote
  #6   Spotlight this post!  
Unread 25-03-2010, 11:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: ERROR <Code> 1026

Quote:
Originally Posted by Alan Anderson View Post
It looks like the framework is trying to shut down Autonomous Independent, but failing. This is likely because the Autonomous Independent is no longer running, having already completed before the 15 second autonomous period ended.
Thanks Alan. That diagnosis certainly fits the facts. The autonomous independent code finishes in about 8 seconds.

Assuming this is the case, I view it as a problem with the framework. It is entirely reasonable to expect that teams will design autonomous independent code that finishes before the time expiration. Displaying an error message like this teaches the students to ignore error messages. That is a very bad thing.



Quote:
The other possibility is that Autonomous Independent is inappropriately being run explicitly by user code, so the framework code that tries to run it (and delete it) as an actual independent task cannot do its job.
No, we've learned our lesson there, thanks to your (and other's) posts on this topic.


~
Reply With Quote
  #7   Spotlight this post!  
Unread 25-03-2010, 13:03
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,748
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: ERROR <Code> 1026

There is indeed an unwired error within the framework that will cause a DS printout at auto completion if the Auto Independent VI has already completed. This will be corrected in the future, but doesn't warrant an update. I wasn't sure this matched your report.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 25-03-2010, 13:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: ERROR <Code> 1026

Quote:
Originally Posted by Greg McKaskle View Post
There is indeed an unwired error within the framework that will cause a DS printout at auto completion if the Auto Independent VI has already completed. This will be corrected in the future, but doesn't warrant an update. I wasn't sure this matched your report.
Is there a link to a "known bugs" list for the framework that FRC teams can view?


~
Reply With Quote
  #9   Spotlight this post!  
Unread 25-03-2010, 14:32
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,748
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: ERROR <Code> 1026

No external list that I know of. I'd love for it to be on source forge, and perhaps we can get it pushed there next year.

Greg McKaskle
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
Compressor Code causes No Robot Code Error sircedric4 C/C++ 25 03-02-2010 10:13
ERROR <code> 1026 Sauce FRC Control System 1 19-01-2010 21:43
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07
C++ Code Error? Adam Shapiro Programming 9 20-01-2003 13:24


All times are GMT -5. The time now is 04:37.

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