Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5694

Camera attributes do not show (sometimes)

$
0
0

I am aiming to configure a webcam (Trus Exis) so that the camera attributes can be configured in labview. This followed in a program (see attatched), however it sometimes does not work (camera attributes return empty and cannot be written). I am not totally sure of the problem as it appears quiet random, however after playing around a bit it appeared that it works better if I quickly stop and then start the vi again. To test this I placed the vi in a while loop and added a wait function. If this wait is 10ms the defect disappears, at 1sec it works about half the iterations, and at 10sec it occasionally works.

 

One thing I also noticed is that in IMAQdx Configure Grab VI the check if session in exists always returns true (so path isn't found) and the standard path (cam0) is sent. Now however, this is the same path that is inputted. So I suspect this might be a couse of the problem too.

 

Anyone have any ideas on how to solve this? Help is greatly appriciated.

 


Viewing all articles
Browse latest Browse all 5694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>