Go to Post If you have to build the best robot to be inspired then we end up with one winning inspired team, and 999 losers. That is not the spirit of FIRST. - KenWittlief [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 14-02-2015, 14:33
HostileGato HostileGato is offline
Registered User
FRC #4005
 
Join Date: Feb 2015
Location: Fort Gibson
Posts: 3
HostileGato is an unknown quantity at this point
Trouble Displaying USB camera stream to Dashboard

I am having trouble displaying camera feed to the dashboard. I am using the default mecanum labview code with a USB camera plugged into the roboRIO. I've checked to make sure my camera is recognized when connected to the robioRIO over USB. However i'm still not able to see the camera feed from my dashboard. When I deploy the code to the roboRIO I get these error messages: ERROR-1074360311 occured at IMAQdx Open Camera.vi and NI-IMAQdx: (Hex0xBFF69009) Camera not found . I've also tried enabling vision on the Robot Main VI front Panel.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2015, 09:45
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,752
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: Trouble Displaying USB camera stream to Dashboard

In the Vision VI, it lets you specify the camera address and lets you choose between a name for an Axis camera and a name for a USB camera. What name is that code selecting? By default, it was looking for the first USB camera.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2015, 12:21
HostileGato HostileGato is offline
Registered User
FRC #4005
 
Join Date: Feb 2015
Location: Fort Gibson
Posts: 3
HostileGato is an unknown quantity at this point
Re: Trouble Displaying USB camera stream to Dashboard

By camera address do you mean what port it is physically plugged into on the roboRIO? In other words, does the the USB camera have to be plugged into a certain USB port on the roboRIO? I believe in my code the name for the camera is just "Camera". I don't have access to check right now, but i believe when connected to the roboRIO over USB it doesn't list the USB camera's name as "Camera". Here is a screenshot of the code I am using.
http://s1341.photobucket.com/user/ts...tml?sort=3&o=0
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2015, 14:50
Nunez4296's Avatar
Nunez4296 Nunez4296 is offline
Programmer
AKA: Joseph Nuņez
FRC #4296 (Trident Robotics)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Gurnee IL
Posts: 39
Nunez4296 is an unknown quantity at this point
Re: Trouble Displaying USB camera stream to Dashboard

Rather than setting an IP address for your camera, since it is usb, write "USB 0". After that, deploy the code but check the "Enable Vision" box on the front panel of the Main.vi. From there, go to the dashboard and select what type of camera you are using, for us, we are using a logitec USB camera set for USB 0. On the dashboard, this would be "USB Camera HW".
__________________
The Eagle - By Alfred, Lord Tennyson

He clasps the crag with crooked hands;
Close to the sun in lonely lands,
Ring'd with the azure world, he stands.

The wrinkled sea beneath him crawls;
He watches from his mountain walls,
And like a thunderbolt he falls.
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 21:32.

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