Go to Post Once you know where you want to go, you can decide how you want to get there. - sciguy125 [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 31-01-2012, 17:07
sithmonkey13's Avatar
sithmonkey13 sithmonkey13 is offline
Registered User
AKA: Nathan
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: St. Louis
Posts: 70
sithmonkey13 is a name known to allsithmonkey13 is a name known to allsithmonkey13 is a name known to allsithmonkey13 is a name known to allsithmonkey13 is a name known to allsithmonkey13 is a name known to all
Trouble with Image Processing

We are having a problem with the vision tracking code. After following the LabView rectangle tracking example's directions for saving the VI into a new project, we have tried to run the project to see the camera image and debug the code. We are running the cRIO-II plugged into the DAP bridge, with all IP's configured correctly. We can see the unprocessed image on the dashboard, but on the LabView screen we cannot see the images. Any help would be appreciated.
__________________
Note: You cannot tell the difference between "OK Go" and "OK No" when there 2 walls between you and the robot. At that point, the only thing between injury and safety for the mechanical guys is their ninja skills.
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2012, 19:46
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: Trouble with Image Processing

I'd check that to see if there are errors on the DS diagnostic tab. I'd check to see that it is enabled on the Robot Main panel, or otherwise the global is set somewhere in the code. If looking at a binary mask, be sure to set the palette to binary.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2012, 20:05
sjaques sjaques is offline
Registered User
FRC #2874
 
Join Date: Jan 2012
Location: Grain Valley
Posts: 4
sjaques is an unknown quantity at this point
Re: Trouble with Image Processing

Sorry, I can't be of help. But we are needing an example, where did you find the LabView rectangle tracking example. Thanks!
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2012, 20:10
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: Trouble with Image Processing

I believe Help >> Find Examples will work pretty well, and the FRC/Vision folders are probably the right place to look.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2012, 20:11
Bendito's Avatar
Bendito Bendito is offline
Registered User
AKA: Benjamin LaRoche
FTC #7837 (The Thunder Colts)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Dorr, MI
Posts: 13
Bendito is an unknown quantity at this point
Re: Trouble with Image Processing

I have the same problem, and the built dashboard executable works properly processing images on my coding computer. However, when I move the built executable with the image processing to the Driverstation, there is only the live feed, and no image processing. I am wondering if this could be a problem with Labview not being installed on the other computer? I just have the driverstation installed on the driverstation computer.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2012, 21:50
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
Re: Trouble with Image Processing

I would check the Begin vi. There is a boolean that decides what IP to use to find your camera.


This very important based on the type of crio and setup!

Other than that. I would check the camera Ip to insure that it is set up correctly.
__________________
-Team 1939 The Barstow Ku-Nig-Its!
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2012, 22:16
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Trouble with Image Processing

For simplicity's sake, I just deleted all that boolean nonsense and entered our two camera's IP's manually. That might work for you if there's an IP error.
Reply With Quote
  #8   Spotlight this post!  
Unread 03-02-2012, 08:23
Bendito's Avatar
Bendito Bendito is offline
Registered User
AKA: Benjamin LaRoche
FTC #7837 (The Thunder Colts)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Dorr, MI
Posts: 13
Bendito is an unknown quantity at this point
Re: Trouble with Image Processing

The Ip addresses are correct, as the driverstation is still recieving all of the image data, along with being able to process it on our other computer. Our Dashboard has all of the image rectangle finding code in it, and works well on the coding computer. The issue appears to lie in the .dll's of the NIvision, specifically, the calls to GetColorPlane and other functions like that. I already tried moving all the files I could manually, but I will later try to reinstall some of the vision software on that computer.
Reply With Quote
  #9   Spotlight this post!  
Unread 04-02-2012, 09:58
Bendito's Avatar
Bendito Bendito is offline
Registered User
AKA: Benjamin LaRoche
FTC #7837 (The Thunder Colts)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Dorr, MI
Posts: 13
Bendito is an unknown quantity at this point
Re: Trouble with Image Processing

Ha, it was actually an extremely simple problem to fix. Unbeknownst to me, the Labview installer had an "install Driverstation Support" feature, which after installing on the Driverstation, made everything work.
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 22:22.

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