Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   How to get the camera to show images on the dashboard? (http://www.chiefdelphi.com/forums/showthread.php?t=81804)

PHSRobotics 13-02-2010 20:01

Re: How to get the camera to show images on the dashboard?
 
Thank you for the link- One more question- So when one is going to change the compression to 20% they use the set compression vi, but then where do you establish the 20%? When it is made the constant there is no change. HELP PLEASE!!

Greg McKaskle 13-02-2010 20:06

Re: How to get the camera to show images on the dashboard?
 
IF you set the compression in Begin, then you don't need to worry about what is stored on the camera. But I believe the question you asking is about when values are saved as defaults on the camera, and the answer to my knowledge is all modifications are saved. I don't know how often things are written to flash or flushed, but changes are persisted without any explicit steps.

Greg McKaskle

cmh0114 13-02-2010 20:44

Re: How to get the camera to show images on the dashboard?
 
Quote:

Originally Posted by PHSRobotics (Post 919427)
Thank you for all the help- we figured out that our code was missing some crucial components that wasn't allowing us to obtain a camera image on the Dashboard.
I do have another question though- Our camera has quite a delay (about 1 second), does anyone know how to make this delay less or nonexistent?
Thank you!:cool:

If you create a custom Dashboard without the graphs on the right half, you can get a nearly live feed from the camera. One of our programmers found a modded Dashboard on CD somewhere; I'll get the link from him tomorrow or Monday and post it.


Also, I might be missing something, but I thought that the camera had to have a specific IP address -- 10.XX.YY.#, where XXYY is your team number (and # is just some random number). But it sounds like you keep setting it to 192.168.0.##. That might be giving you a problem with getting the feed.

Mark McLeod 13-02-2010 22:19

Re: How to get the camera to show images on the dashboard?
 
Quote:

Originally Posted by cmh0114 (Post 919600)
Also, I might be missing something, but I thought that the camera had to have a specific IP address -- 10.XX.YY.#, where XXYY is your team number (and # is just some random number). But it sounds like you keep setting it to 192.168.0.##. That might be giving you a problem with getting the feed.

Quite incorrect.
Leave the camera with it's default IP of 192.168.0.90
Port 2 of the cRIO is setup for that network only.

Greg McKaskle 15-02-2010 09:02

Re: How to get the camera to show images on the dashboard?
 
Also, I was not able to reproduce the solution with the charts. By changing compression, you can get high frame rates with the chart. By deleting the chart, the frame rates are still determined by the compression ... and a few other factors such as what is running on the cRIO, the load on the classmate or dashboard computer, etc.

Greg McKaskle

vooboo13 16-02-2010 13:55

Re: How to get the camera to show images on the dashboard?
 
Sorry for reposting or anything, but can anyone help me with my question? We are very stuck and I have thread through a seemingly endless number of "camera doesn't work" threads with no luck.

Mark McLeod 16-02-2010 14:21

Re: How to get the camera to show images on the dashboard?
 
I'd try using the reset the camera by pulling the power, then holding the reset button while plugging the power back in and continuing to hold until you get the orange light around the lens.

Then running the Axis Setup utility again.

The camera won't feed the Dashboard until it's connected to the cRIO port 2 with a crossover cable (a pink one came in the KOP).

vooboo13 16-02-2010 21:43

Re: How to get the camera to show images on the dashboard?
 
Thanks for the response Mark. So basically, reset the camera to factory settings, create a username of FRC:FRC, then plug it into the Ethernet Port 2 of the cRIO? I'll give that a shot.

PHSRobotics 20-02-2010 11:55

Re: How to get the camera to show images on the dashboard?
 
Thank you from Team 2135! See you at the competition!


All times are GMT -5. The time now is 01:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi