05-28-2008 09:01 AM
05-29-2008 01:56 PM
05-30-2008 08:26 AM
Wes P,
Thanks for your response.
By not working I mean the program will not collect frames from the 1422 card. The imgn number is not hard wired; it is read from a text file. There is an error that occurs in the imaqInitBufferList but only if the 1422 card is installed in the img0 slot. The fact that it will work just fine if the 1422 card is in img1 but not if it is in img0 is the mystery. If the frame grabber is an 1409 card the program works just fine with the card in img0. The program (which is very complicated) was developed on a system with a PXI 1409 frame grabber in img0 and works just fine. The system I want to install the executable on has a PCI 1422 card in img0. Again, why does the slot number have any effect on whether the program works or not? Since the program will work with the PCI 1422 card in img1 shows that it doesn't matter if an analog or digital camera is the video source. Could the builder hard code some variables? This is very puzzling and driving me crazy.
Thanks,
Bud (bswartze)
06-02-2008 10:13 AM
06-02-2008 01:31 PM
Wes P,
Here are the things I have tried.
1. Hard wiring the interface as img0 and installing a PCI-1422 card in img0.
2. Making the interface name a control and setting it before running the program using a PCI-1422 installed in img0.
3. Reading the interface name from a text file. The file name is fixed but the text is not and can be changed. The PCI-1422 card was installed in img0.
4. Running an example program that was complied by NI to test the buffering on a frame grabber card. A PCI-1422 card in img0 was installed. The NI program worked just fine on my PXI system with a PXI-1409 card installed in img0.
5. Installing a PCI-1409 card in img0 and a PCI-1422 card in img1.
MAX was able to grab frames from img0 regardless of the type of card (hence the type of camera) installed in img0.
Only (5.) collected frames using my program and a digital camera (img1.) (4.) also failed with a PCI-1422 card in img0. A NTSC camera connected to a PCI-1409 card in img0 always worked.
I hope this helps.
Bud
06-03-2008 03:49 PM
06-04-2008 08:27 AM
Wes P,
img0 and img1 are the handles in MAX. I could find no way to force the system to assign a different handle to the card. If there is a way to tell the system to install the card using the handle img1 instead of img0 I would be glad to try that to see if that would make a difference.
Bud
06-05-2008 06:37 PM
06-06-2008 11:46 AM
Wes P
Maybe I should have been more specific. I have found no way to install a SINGLE PCI-1422 card and force to be assigned img1. Is there a way to do that?
Bud
06-09-2008 09:00 AM - edited 06-09-2008 09:01 AM