Go to Post Remember the volunteering is not mandatory for the people to do it. It IS mandatory if FIRST is to survive and the regionals to leave a positive impact on everybody. - Alavinus [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 07-02-2013, 18:45
Asker Asker is offline
Registered User
no team
 
Join Date: Feb 2013
Location: USA
Posts: 1
Asker is an unknown quantity at this point
Exclamation Motor rotation change; Axis camera no image

Hello chiefdelphi !
I am rookie this year so I cant figure out some stuff...
I need to make motor ( black one, connected with relay ) to rotate forward constantly with full speed, but when I press button 4 it needs to rotate reverse with some slow speed and then again if its pressed it returns back to forward with full speed.
-------
Also there is big problem with camera.
I tried to setup it with "Setup Axis Camera" and it finded the camera but It says it cant connect to it, so I manually created FRC/FRC accaunt. The problem is that there is no image on driver station ( all is up to date ) but there is image in browser.
I tired to restart it/restore to factory default but it does not give any results.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2013, 20:25
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: Motor rotation change; Axis camera no image

Quote:
Originally Posted by Asker View Post
I need to make motor ( black one, connected with relay ) to rotate forward constantly with full speed, but when I press button 4 it needs to rotate reverse with some slow speed and then again if its pressed it returns back to forward with full speed.
Black motor? That's a CIM, MiniCIM, or BAG motor. Those are only allowed to be controlled by Jaguar, Talon, or Victor speed controllers. You may not connect them to a relay.

You wouldn't be able to control the speed using a relay anyway; they'd be either off, full speed forward, or full speed reverse.

I think you want to use a gamepad or joystick button to switch back and forth between two states. State one has the motor running full speed forward, and state two has the motor running slowly backward. Is that right? The LabVIEW code for doing it is simple, but I want to make sure I have your requirements straight before walking you through doing it.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2013, 05:13
askeer askeer is offline
Registered User
no team
 
Join Date: Feb 2013
Location: USA
Posts: 4
askeer is an unknown quantity at this point
Re: Motor rotation change; Axis camera no image

Quote:
Originally Posted by Alan Anderson View Post
Black motor? That's a CIM, MiniCIM, or BAG motor. Those are only allowed to be controlled by Jaguar, Talon, or Victor speed controllers. You may not connect them to a relay.

You wouldn't be able to control the speed using a relay anyway; they'd be either off, full speed forward, or full speed reverse.

I think you want to use a gamepad or joystick button to switch back and forth between two states. State one has the motor running full speed forward, and state two has the motor running slowly backward. Is that right? The LabVIEW code for doing it is simple, but I want to make sure I have your requirements straight before walking you through doing it.
Oh I didn't know that, so after some time we realized what we will use.
I need to use 2 cim ( we are not sure yet will we use 2 or one to rotate two discs but I think it would not be hard to modify code ) motors to rotate at same speed and same direction forward, and when I press button4 it changes direction to reverse and with some slow speed.

Also I need to make one Mini Cim so when its pressed it goes with some slow speed until button is released.

Yes, I wont to use joystick so when I press button it CIM motors runs reverse with slow speed and when its pressed again it goes back to default state ( forward with full speed ) .

Also does anyone know any solution to camera problem ?

This seems to be complex but I really need your help to learn and to realize the project successfully.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2013, 23:13
Greycrazygamer's Avatar
Greycrazygamer Greycrazygamer is offline
Registered User
FRC #2761
 
Join Date: Jan 2013
Location: Fresno
Posts: 6
Greycrazygamer is an unknown quantity at this point
Re: Motor rotation change; Axis camera no image

Quote:
Originally Posted by Asker View Post
Hello chiefdelphi !

-------
Also there is big problem with camera.
I tried to setup it with "Setup Axis Camera" and it finded the camera but It says it cant connect to it, so I manually created FRC/FRC accaunt. The problem is that there is no image on driver station ( all is up to date ) but there is image in browser.
I tired to restart it/restore to factory default but it does not give any results.
i am also having this same problem... i have heard that removing the 2012 dashboard if u have it can fix the problem, but that didnt work for me... did you eventually fix this problem?
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2013, 04:44
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: Motor rotation change; Axis camera no image

The camera IP needs to be set to 10.te.am.11 and you need an FRC account with FRC password.

At that point you should be able to plug the camera directly into the dashboard laptop or a network that the dashboard laptop is part of and see the images. If you don't see the images, try setting the camera resolution a bit lower and the frame rate a bit lower.

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 04:29.

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