When I restart Windows sometimes my cameras (Basler 601f) show up in MAX as a generic consumer camera. This can be corrected by popping up on the camera and selecting Use the NI IMAQ-1394 driver.
I need to know how to do this programmatically. I am running an application in LabVIEW and when this problem occurs I get an error in my LabVIEW application when I run the 1394 Init VI. I want to trap this error, then run *something* to tell MAX to select the 1394 drivers for each of the 4 cameras I have, then rerun my 1394 Init VI in LabVIEW.
It is okay during development to do this in MAX, but it is a buggy pain for the end client to have to run MAX manually. Nor do I really want them mucking around in MAX.
Programmatic help please, or can I do something like: run system exec.vi with MAX on the command line and point it to a camera *.icd file or something
or maybe call one of the MAX DLL routines to get an enum of the cameras it sees and what drivers they currently have assigned, then call another function to tell MAX to select the 1394 driver?
Help please?
Mike Ashe
michael.ashe@imaginatics.net