Go to Post Note to self for next year, apply physics rather than "well, this SEEMS like it would work." - Karibou [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 12-11-2013, 21:29
timbuktoo timbuktoo is offline
Registered User
AKA: Tim
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Pennsylvania
Posts: 4
timbuktoo is an unknown quantity at this point
Error on deploy with a vision library

earlier today a teammate and I were working on vision code so that we would be ready when build season comes around. we followed the tutorial (https://decibel.ni.com/content/docs/DOC-26318) from NI on using their vision assistant. We were able to use the vision assistant to make the script as described in the tutorial, and to use the assistant to build a new VI. We placed the VI in the stock VisionProcessing.vi but I forgot to screen shot it, but we only connected the Camera in and the locations of each cap to a front panel indicator.

upon deploying we got this error in the deploy window:

the bold face error reads like this if anyone is having difficulties with the picture:
Code:
NI_Vision_Development_Module.lvlib:IMAQ Get Calibration Info loaded with errors on the target and was closed.rrect function name.
Has anyone here seen this before, and what have they done about this.

Also having come home and reviewed further the tutorial I found of page 11 &12, that one of the sub-VI's in the VI made by the assistant may need to interface with other calibrations, and that it can be removed and bypassed. Until I can get my hands back on the code and robot on Thursday, any help or advice is appreciated
Reply With Quote
  #2   Spotlight this post!  
Unread 13-11-2013, 19:52
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: Error on deploy with a vision library

Is this on an 8-slot cRIO?

After a couple years, we found that we were running out of memory on the cRIO. We left out a few other libraries entirely, and asked vision to make a version with things like calibration removed.

What form of calibration are you using?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 15-11-2013, 00:05
timbuktoo timbuktoo is offline
Registered User
AKA: Tim
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Pennsylvania
Posts: 4
timbuktoo is an unknown quantity at this point
Re: Error on deploy with a vision library

yes, its an 8-slot cRIO. As far as I know we are not using any calibration at the moment, but I don't know much about the vision code.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-11-2013, 11:04
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: Error on deploy with a vision library

The function it is failing to load into memory is listed as Get Calibration Info. I suspect that you can search the VIs for that string and find the function that the Vision Asst included for you.

If you don't find it, upload your .scr file, they are tiny, and it should be easy to spot.

Greg McKaskle.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-11-2013, 16:15
timbuktoo timbuktoo is offline
Registered User
AKA: Tim
FRC #1712 (Dawgma)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Pennsylvania
Posts: 4
timbuktoo is an unknown quantity at this point
Re: Error on deploy with a vision library

thanks for the advice, I'll look into it if I get a chance, because we have now switched priorities and are trying to get a new robot ready for a school pep-rally.

many thanks
Reply With Quote
  #6   Spotlight this post!  
Unread 16-11-2013, 07:38
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: Error on deploy with a vision library

Understood. Well, if/when you get back to it, look for and try to avoid a few calibration routines and it should work. The code you have should work on a PC or on a 4-slot. And if you post the script we can discuss ways to optimize the code for the 8-slot.

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


All times are GMT -5. The time now is 21:05.

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