07-07-2016 05:09 AM
Hi all,
I thought I might repost this here as it might be a more appropriate forum. I under a bit of time pressure, so hopefully someone will be able to help me. I am having an issue with a program I wrote to acquire and save images from a linescan camera.
My camera (SUI Goodrich, 1024 pixels) is connected to a framegrabber (PCIe-1427) board, which is connected via an RTSI cable to a PCI-6731 board attached to an SCC-68 connector (M-series). My aim is to drive a scanning galvanometer mirror, and acquire images from the camera continuously over each sweep. Such that one sweep of the galvo will correspond to one image frame (1024 pixels x 1024 lines).
I have been successful in doing this ( I think), as my live acquisition program works just as I expect. However when I try to save the frames, I notice that for a higher number of frames, the start point of the image is shifted by the same amount for each frame. I'm not really sure what is happening, it looks to me as though there is a delay in using the "IMAQ Configure Buffer" VI when a larger number of buffers is used, (even just 100). Is it possible that my hardware trigger is not waiting for all the buffers to be configured before it starts to execute?
I would really appreciate any insight or ideas that anyone might have regarding this issue.
Kindest regards,
Gill
Solved! Go to Solution.
07-07-2016 08:57 AM
I have fixed the issue by realising that I am not actually using 1000 buffers to save 1000 frames. Program works if the number of buffers is lowered.