01-29-2008 12:02 PM
01-30-2008 03:08 PM
Hi Ward,
If you are going to be developing applications to interface with firewire cameras from LabVIEW, I would highly recommend moving to IMAQdx instead of using the IEEE 1394 Legacy driver. IMAQdx is our most current driver and replaces the Legacy NI-IMAQ for IEEE 1394 driver in handling the low level interfacing with the firewire bus.
I took a look at the specs for the FireDragon camera here:
http://www.toshiba-teli.co.jp/english/ise/firedragon/pdf/FireDragon-color.pdf
The shutter mode, as well as the other camera attributes, should be settable through the “camera attributes” tab in Measurement & Automation Explorer (MAX). Have you tried changing the shutter settings in MAX, and then tried a snap there to test out the settings and see how it affects your image?You may have to adjust the acquisition rate along with the shutter speed to achieve the exposure and hence the brightness that you require.
These camera attributes that are accessible in MAX are also accessible in LabVIEW through the use of property nodes. Once you wire the camera session to the property node, you will be able to select “camera attributes>>attribute” and then right click on “Attr” to create an enumerated constant that will allow you to select which camera attribute you would like to set.
I’m also a little confused by what you mean by “1 ms time gate”. Are you referring to the trigger signal sent to the camera? I thought this would mean 1000 fps, but that doesn’t seem right, so I wanted to check and see what exactly you are referring to. If you are still having problems after adjusting the camera attributes, please post back and let me know what problems you are still running into, and I’ll try to help out.
___________________
Nate Holmes
Applications Engineer
01-30-2008 04:20 PM
Nate,
Thanks for the response. When I initially installed the firewire driver on the laptop (XP), I had to use an older driver to get the full 800 Mbps speed. However, the NI driver is different. I will see if I can find and install the newer NI 1394 driver.
I am using the triggered mode ( mode 1) with an external trigger input to the camera to control the exposure time. This mode works fine with other VI's that I have tried such as "Triggered Grab" which was in the sample files. However, this VI does not save any video or images. I tried to combine 2 different sample VI's to produce a VI which will allow the camera to be triggered externally and then save a sequence of images to the hard drive. This was the file I attached. It apparently did work with an external trigger of 1 ms duration and produced a dim image because of the reduced exposure. This was in the slow { flashlight) mode. However, when I ran the VI in normal full speed mode, the image was bright indicating that the camera was not shuttered at 1 ms.
The camera works fine using MAX and I can snap a still frame or view live video. However, there is no control for an external trigger in the options. Perhaps the new driver may provide this.
Ward
02-05-2008 05:39 PM
02-05-2008 05:40 PM
02-06-2008 03:51 PM
02-07-2008 08:08 PM
02-15-2008 12:58 PM
02-19-2008 12:06 PM
Nate,
Thanks for the help. The new VI works with my camera to trigger and capture a sequence of images. I tried trigger times ( exposure times) of 1 ms and 4 ms as shown in the picture attached of the file thumbnails. There were 5 images at 1 ms and 4 images at 4 ms exposure and it is clear that the 1ms exposures were much darker as expected.
Ward
02-19-2008 01:56 PM
Dear Ward,
I'm glad that the VI works! As to the brightness of the image with a 1ms exposure time: