Go to Post Welcome to ChiefDelphi a month before Kick-Off. This is an annual traditional experience for quite a few regulars. - synth3tk [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 22-01-2016, 19:29
avestasticc's Avatar
avestasticc avestasticc is offline
Registered User
AKA: Avery
FRC #0379 (The RoboCats)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: ohio
Posts: 7
avestasticc is an unknown quantity at this point
Camera questions

I have a few questions on the camera that i haven't been able to find answers to. Do i need to reference the camera in the begin and end vi? Also, what should i set the FPS as? I did use the prewritten code on labview but i just need those few things and I'll be done! Thank you!
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2016, 20:26
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 471
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Re: Camera questions

Yes. You do need to. The camera acts as any sensor would, so you should open it in the begin VI and close it the finish VI.
Also, regarding the frame rate, I think you can keep the default one and be ok without changing it.

Last edited by Hitchhiker 42 : 22-01-2016 at 20:28.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2016, 21:22
Jonathan L. Jonathan L. is offline
Registered User
FRC #1094
 
Join Date: Jan 2013
Location: St. Louis MO
Posts: 60
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Camera questions

Quote:
Originally Posted by avestasticc View Post
I have a few questions on the camera that i haven't been able to find answers to. Do i need to reference the camera in the begin and end vi? Also, what should i set the FPS as? I did use the prewritten code on labview but i just need those few things and I'll be done! Thank you!
As long as you are only getting the camera image in the Vision VI it doesn't matter if you open the camera in the Begin VI and close the camera in the Finish VI or do everything in the Vision VI. If you are doing vision processing however, I recommend removing all the camera set settings VIs when the camera is opened. That way you can set all the settings manualy via the camera's webpage and not worry about the code changing something.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2016, 09:42
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: Camera questions

As mentioned, the Open can be moved to Begin if you prefer. It was moved to the Vision VI so that if a team wants to remove vision, they simply comment out or delete one VI and don't have remnants still causing errors or affecting launch time.

The camera settings are retained by the Axis camera. So it is up to you to decide how you prefer they be set. Setting them in the code means there aren't side-effects caused by some web stuff that may have happened or caused by a camera swap. Leaving them out of the code gives you the flexibility to move the modifications to another tool and leaves the code out of it. Both good strategies as long as everyone understands the system.

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 03: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