Go to Post How FIRST is helping: teaching me just how much I can achieve in 6 weeks. - Otaku [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 13-01-2015, 12:45
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Exclamation Vision problem

Vision has been giving me nothing but trouble this year. I have tried all three examples and have not been able to get any of them working well if at all. I have created a custom vi to track the tape using the vision assistant and the retro reflective tape. The first part of the vi that processes the live feed works but the part where is calls upon the file to be compared is flawed. The first problem is that it either can't find the file or can't pull it up which prevents the file from being compared to the live feed. I must have working vision and am out of ideas on how to get it working.
Attached Thumbnails
Click image for larger version

Name:	main vision.PNG
Views:	65
Size:	145.9 KB
ID:	17830  Click image for larger version

Name:	problem part.PNG
Views:	45
Size:	154.3 KB
ID:	17831  Click image for larger version

Name:	working part.PNG
Views:	42
Size:	151.5 KB
ID:	17832  
Attached Images
 
Attached Files
File Type: vi double tape center.vi (46.7 KB, 3 views)

Last edited by TylerStaudigel : 13-01-2015 at 12:49.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2015, 07: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,751
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: Vision problem

One of the diagrams contains a path with an "ftp://..." type of URI path. The LabVIEW paths are file paths, relative or absolute. The functions that take paths will not perform an ftp transaction to retrieve the file. So think about where the code will be, put the file nearby, and use a file system path.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2015, 10:23
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Re: Vision problem

Quote:
Originally Posted by Greg McKaskle View Post
One of the diagrams contains a path with an "ftp://..." type of URI path. The LabVIEW paths are file paths, relative or absolute. The functions that take paths will not perform an ftp transaction to retrieve the file. So think about where the code will be, put the file nearby, and use a file system path.

Greg McKaskle
I have been working with our mentors to solve this issue still with no solution. So what you are saying is that we should not use ftp at all, and if we cannot do that where are we able to store a picture for reference. Lastly what is a file system path?
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2015, 21:33
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,751
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: Vision problem

The file system path is a path to the disk or flash-ram. For roboRIO, it will be of the form /home/admin/ or something similar.

You can certainly use ftp, but you cannot just use ftp within a path. There are subVIs for connecting and retrieving files, but if I knew what the end-goal was, this may or may not be necessary.

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 08:51.

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