Go to Post Remember that starting a team is ALOT of work, but it’s a lot of fun once it gets going. Its all about the students, so don’t get too carried away ;) - Travis Covington [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 11-02-2014, 20:11
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: AXIS M1013 how to get image on dashboard?

If the example works with the camera, that would imply that the camera IP is correct.

You asked how the BuildCamerIP VI works. If you double click, you can open it and see its secrets. If a string is passed into the VI, that is used. Otherwise, it runs the StringToIP function with an empty string. With that usage, it returns the robot IP. It then masks the lower byte and ORs in an 11. The final step is to format the integer into a string with decimal format.

One other thing I'd check with the dashboard is to make sure that you run the driver station. It is the driver station that tells the dashboard which robot is being used. The dashboard then starts the connection to the camera at 10.te.am.11.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2014, 14:15
eren96's Avatar
eren96 eren96 is offline
Registered User
FRC #3646 (Integra)
 
Join Date: Oct 2013
Rookie Year: 2011
Location: Türkiye
Posts: 22
eren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really nice
Re: AXIS M1013 how to get image on dashboard?

Quote:
Originally Posted by Greg McKaskle View Post
If the example works with the camera, that would imply that the camera IP is correct.

You asked how the BuildCamerIP VI works. If you double click, you can open it and see its secrets. If a string is passed into the VI, that is used. Otherwise, it runs the StringToIP function with an empty string. With that usage, it returns the robot IP. It then masks the lower byte and ORs in an 11. The final step is to format the integer into a string with decimal format.

One other thing I'd check with the dashboard is to make sure that you run the driver station. It is the driver station that tells the dashboard which robot is being used. The dashboard then starts the connection to the camera at 10.te.am.11.

Greg McKaskle
Driver station and the toggle button is on. I still can't get image, it's annoying.

Let me rephrase what I've done.

I've tried many things but couldn't accomplish what I want to. Our robot is done, all the other codes for motors, sensors and pneumatics are ready, we can control all of them with joysticks via robot radio.

However when it comes to the camera, we couldn't get image on dashboard. Our camera actually works. We successfully configured it and wired to robot radio and 5V output on PDB. When we run the "Camera Performance.VI" it runs and we can get live image on the front panel successfully.

However, when we run our robot main code, open the driver station, dashboard, enable and press the toggle button on the dashboard to run the camera, nothing is changing and we can't see live image on the left. As far as I learnt above, I don't need to change any code in my robot project to run camera, because I connect the camera via robot radio.

Last year, our programmer couldn't run the camera, neither. ( http://www.chiefdelphi.com/forums/sh...d.php?t=113049 ) His problem was different, but after that we ordered new camera this year(1013), but still have problems with running camera. As a team, we really wonder why we can't make it for 2 years.

Btw, we tried doing whole process in a different computer, too, but the result is the same: no image...

These are what I did and what I know. It seems like I miss something, but couldn't find it. What am I doing wrong or what am i missing?
Thanks from now.
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 09:50.

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