01-25-2011 03:47 PM
I am using a PCIe 1429 connected to an SU-LDH line scan camera. The computer interfaces with the PCIe 1429 through a BNC board (2120). I am having a problem with this as the function imgSessionLineTrigSource2 keeps giving an error.
Here is the code that I have:
fprintf(fpLog, "\t\tline trigger : %d\n", imgSessionLineTrigSource2(pAcquisitionInfoS->Sid, IMG_SIGNAL_EXTERNAL, 2, IMG_TRIG_POLAR_ACTIVEH, 0));
Here's the error I get:
line trigger : -1074397015
Is there something wrong with my coding?
01-26-2011 10:51 PM
Hi masterron1,
If you look at the NI-IMAQ error codes here, it is "The requested trigger line is invalid. Please verify that this trigger line exists and is properly connected to your device.". Without looking at your entire code, I don't know exactly what is wrong, but at a least this is a starting point.
01-26-2011 11:48 PM
Thank you for your reply, Joe. I have an additional question, though. According to the specs on the SU-LDH, it could be connected via CC1 or BNC. Could switching between BNC to CC1 have any effect on the error?
01-27-2011 02:05 PM
Hi masterron1
It should not have any affect, I would make sure that you have configured and are using the correct input though.