Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I reset my camera with NI-IMAQdx?

Solved!
Go to solution

I am using the example code "Grab and Attributes Setup.vi" supplied with LabVIEW 8.2 (under Hardware Input and Output»IMAQdx»High-Level) to learn how my camera (Hamatsu C8484-15G) and the interface (FireWire) works. When I start the vi I get the specified update rate of 8,9 Hz, but if I change e. g. AcquisitionAttributes::PixelFormat to Mono8 and back to Mono16 again I sometimes get just half the update rate. I have tried to get back the higher rate by changing the attributes back and forth, but the only way I have found to solve this is to use "Reset NI-IMAQdx Configuration..." in Measurement & Automation Explorer. As the camera will be used in the prodution, resetting with MAX is not an option.

 

Does anyone knows how to solve this? Even if you don't have the ultimate solution, please give some suggestions.

0 Kudos
Message 1 of 2
(4,156 Views)
Solution
Accepted by topic author LeifN

Funnily, I found the solution myself, by looking at the example "Grab and Attributes Setup.vi". Some of the attributes turned out to be connected. In my case PacketSize changed when I changed PixelFormat, but if I set back PacketSize, I got back the higher update rate.

 

Many thanks to contributor in the thread "Why are some 1394 Camera Attributes Writable in MAX yet Enumerate in LabVIEW Vision as unwritable" who helped me to find the instructive example.

Message 2 of 2
(4,123 Views)