Go to Post The 2016 Palmetto regional will be the most watched regional during week 0.5. - Procolsaurus [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 02-02-2017, 07:59
Ronso007 Ronso007 is offline
Registered User
FRC #3339
 
Join Date: Jan 2016
Location: Israel
Posts: 12
Ronso007 is an unknown quantity at this point
2 Cameras - Switch Problem?

Hey Guys,
I am running into issues while trying to figure out how to Switch between 2 cameras.
In the Vision Proccesing.vi , I changed a lot of things to get the 2 cameras to work :

While Probing The Image(purple line) its looks like there is an image! and if I click 'Switch' The image is also changed while probing.

But, Nothing get to the Dashboard! One time it worked and I could switch between the cameras with a control I made in the dashboard(and it was pretty slow tbh), since then it didn't worked for some reason...

This is the the major change I made in the dashboard:

This is the constant error I get in the driver stating:
ERROR -1074360319 IMAQdx Start Acquisition.viNI-IMAQdx: (Hex 0xBFF69001) Internal error.

Please help!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2017, 09:13
flemdogmillion's Avatar
flemdogmillion flemdogmillion is online now
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 126
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: 2 Cameras - Switch Problem?

I feel like my team is about to have this problem too. I hope Ari423 or some other LabVIEW and WPI guru can help us here.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2017, 10:18
Ronso007 Ronso007 is offline
Registered User
FRC #3339
 
Join Date: Jan 2016
Location: Israel
Posts: 12
Ronso007 is an unknown quantity at this point
Re: 2 Cameras - Switch Problem?

OK, the problem is getting serious..
I can't get even 1 Camera feedback to the dashboard!
Tried to use a new robot code and a new dashboard code and Nothing!
Tried to switch to another laptop and still nothing..
But, When probing in the vision processing on the image(purple line), I can see the image, but it doesn't get to the dashboard
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2017, 17:01
llung llung is offline
Registered User
FRC #4048
 
Join Date: Jan 2013
Location: Westborough, MA
Posts: 13
llung is an unknown quantity at this point
Re: 2 Cameras - Switch Problem?

I'll have to dig up our code from last year to see how we solved this problem; I'll try and get to it tonight or this weekend. In the meantime I'll try and point you in the right direction.

Mind you this is from last year so the labview code under the hood may have changed for 2017. BUT assuming it hasn't, the problem the we encountered was that the "IP & Dash" and other pre-packaged VI's work only when there is one camera. So we ended up making our own copies of these VI's and made some minor changes to allow multi-camera use. We had spent a some time ripping our hair out looking for problems in our code when the problem was in the pre-packaged stuff! So take some time and look there first.

Digging into my memory - I think the problem was that when you call IP & Dash (or maybe it was another related VI?) a second time, it gets all confused - it was never made to handle more than one instance. Something like that. I'll see what I can dig up tonight. Hope this helps a little.
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 10:58.

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