Go to Post [how to read the rules] Slowly, carefully, word by word, taking your time as if it was the last corndog of the summer. - Foster [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 19-02-2013, 15:20
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

Hey, thanks for the great advice. We managed to access the relay file but we don't understand what the "visible" means... can you please elaborate on this?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2013, 15:35
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: Trouble with spike and camera

Quote:
Originally Posted by hasin5 View Post
...we don't understand what the "visible" means...
I'm sorry, I don't know what you are referring to.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2013, 15:37
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

In the relay example, with in the case structure, there are two blocks that say visible.... What are those? And if you don't see that... Then what in general is in that case structure? -Its called the property node
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2013, 15:47
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: Trouble with spike and camera

That case structure is only providing visual feedback on the example's front panel. It plays games with the LED indicator on the picture of the Spike so it can have more than two states. Don't worry about it, and certainly don't copy it to your code.

All you need are the Relay Open and a RefNum Set in Begin.vi, and a RefNum Get and a Relay Set in Teleop.vi (or wherever you need to set the state of the relay).
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2013, 16:20
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

Quote:
Originally Posted by Alan Anderson View Post
That case structure is only providing visual feedback on the example's front panel. It plays games with the LED indicator on the picture of the Spike so it can have more than two states. Don't worry about it, and certainly don't copy it to your code.

All you need are the Relay Open and a RefNum Set in Begin.vi, and a RefNum Get and a Relay Set in Teleop.vi (or wherever you need to set the state of the relay).
We would like to be able to set the spike so that it goes forward when we click a button and then it reverses when we release the button. How would we go about programming this?
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2013, 16:23
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Trouble with spike and camera

Here's one way, ignore the name given to it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2013, 16:39
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

Quote:
Originally Posted by Mark McLeod View Post
Here's one way, ignore the name given to it.
How do we create the "Forward" and "Reverse" for the Teleop.vi? We are getting a boolean input and output and we dont know what to replace it with.
Reply With Quote
  #8   Spotlight this post!  
Unread 19-02-2013, 16:55
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Trouble with spike and camera

On the Relay Set, right-click on the input node and choose Create -> Constant
Then break the wire and drag and copy/paste it wherever you need to place it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 19-02-2013, 17:00
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

Quote:
Originally Posted by Greg McKaskle View Post
I don't have access to that camera, but page four of the manual calls the black ring the focus ring and states that it is a manual focus lens. It also says that it is preset and you don't need to adjust it unless the image is blurry.

If you post an image taken with the camera, I can give my opinion as to what is causing the blur.

Greg McKaskle


Here is the camera image btw for the person wondering.... It also freezes randomly.

http://www.chiefdelphi.com/forums/at...2&d=1361311627

Last edited by hasin5 : 19-02-2013 at 17:10.
Reply With Quote
  #10   Spotlight this post!  
Unread 19-02-2013, 17:13
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

Quote:
Originally Posted by Mark McLeod View Post
On the Relay Set, right-click on the input node and choose Create -> Constant
Then break the wire and drag and copy/paste it wherever you need to place it.
It expects us to put a boolean input (its orange - not blue) - therefore, we get an error when we connect it to the relay set.
Reply With Quote
  #11   Spotlight this post!  
Unread 19-02-2013, 17:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Trouble with spike and camera

Start with a new Select and it will have several orange floating-point nodes and one green boolean node.
The first thing wired to an orange node will change all the nodes to that type color.

Attached Thumbnails
Click image for larger version

Name:	sample.jpg
Views:	9
Size:	3.8 KB
ID:	14123  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-02-2013 at 18:06.
Reply With Quote
  #12   Spotlight this post!  
Unread 19-02-2013, 17:59
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

we got the spike working!

now we need help with the camera -> we need to set it up for targetting.

Last edited by hasin5 : 19-02-2013 at 18:04.
Reply With Quote
  #13   Spotlight this post!  
Unread 19-02-2013, 20:05
hasin5 hasin5 is offline
Registered User
None #4777
 
Join Date: Jan 2013
Location: Canada
Posts: 20
hasin5 is an unknown quantity at this point
Re: Trouble with spike and camera

We had to restore our camera to factory settings and set it up again. Now it is not blurry, but we can not get an image to appear on the dashboard. Any ideas?
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 12:08.

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