Hi,
Yes, that is what I am doing for the GigE cameras. But I can't seem to find the same cam-type information for the IMAQ interface (used for our CameraLink and BNC-attached cameras).
My current approach is to requesting one frame during initalization, and then let the program make a "guess" based on hardcoded imagetype/image_size for the cameras I have. This avoids the LabVIEW crash that happens if I try to change shutter or gain of a BNC attached camera, as if it was a CameraLink (both type framegrabbers are driven using the IMAQ interface, I can not tell the difference any other way)
Of course, this method will not work if I attach a random "unknown" camera to the program.
(However, this "grap-one-frame" initalization does filter out the GigE problem I usually have, where the GigaE camera is initalized ok, the grab has been started ok, but the program fails with a timeout when a frame is requested.).