10-15-2015 09:24 AM
As per my recent post about getting up and running with the NI PCIe-1433 camera link card I've run into a bit of a snag.
When using the internal trigger on the camera, everything works 100%. I can view all the data coming back from the camera in MAX as well as in my labview project. However, whenever I switch to the external trigger mode is where things start falling apart.
What I've confirmed:
- Camera is indeed switching between internal and external triggering.
- NI PCIe-1433 camera link card is properly configured. While in external mode I can trigger the camera using a function generator and view the feed in MAX. Everything works fine.
When the camera is in external mode, my VI errors out at the IMAQ Grab Acquire.vi function. The error is as follows:
Code: -1074397150
The possible reasons designate a timeout.
Now, I have it setup so that an error here will not terminate the LabVIEW file. Occasionally, good data makes it though ( about every ten seconds-ish ). So what seems to be happening is that this external trigger signal is not in alignment with when the grab is attempted. Is there a way to sync these? Maybe reference the external trigger signal somehow in my LabVIEW project so that the grab is only run when that trigger pulses?
Solved! Go to Solution.
10-15-2015 10:45 AM
So I solved my own issue. It was timing out. The external triggering that I was using for the device was just too slow. I was originally using a trigger of 2 Hz to be able to visually see the values changing on the LabVIEW probes. But this was in sufficient to get enough data to travel over the camera link cable to assemble an image and it kept on timing out. Moving up to 9 kHz solved the issue. No adjustments to the camera settings nor the LabVIEW code was required.
10-16-2015 10:07 AM
Thanks for posting your solution.
03-09-2016 01:47 PM
I am using PCIe-1433 card and a camera link. I want to do external triggering but my program is not working.
Can you please send yours so I can take a look?
Thank you so much!