12-03-2007 10:45 AM
12-04-2007 09:26 AM
Hello UV,
Do you get this error when running any of the example code such as HL Grab or LL Grab? Also, could you post a little more information about your setup such as camera type, acquisition parameters, etc.? Thanks UV.
12-05-2007 07:49 PM
errChk(imgGrabSetup (m_CameraData.m_Sid, FALSE));
errChk(imgSessionStartAcquisition(m_CameraData.m_Sid));
errChk(imgSessionStopAcquisition(m_CameraData.m_Sid));
errChk(imgSetCameraAttributeString(m_CameraData.m_Sid, "Shutter Speed", "External Pulse"));
errChk(imgSessionStartAcquisition(m_CameraData.m_Sid));
I'm getting my error when I start the acquisition the second time.
Please let me know if you need more information.
Thanks,
Yuval
12-06-2007 10:25 AM
I forgot to mention the error I'm getting is "buffer size used is to small for minimum acquisition"
Yuval
12-06-2007 12:54 PM
UV,
I have a co-worker who has similar code that starts/stops then restarts the acquisition while changing parameters and I believe you need to call the imgGrabSetup function before restarting the second acquisition since you are changing attributes on the camera.
12-06-2007 04:33 PM
12-07-2007 10:39 AM
UV,
The code is actually just the HL Grab example with pretty close to the same modifications you have mentioned except after each time you change a camera attribute, the imgGrabSetup function is called and the canvas size is checked against the acquisition window. The code I mentioned in my last post is still being modified with extra features so it is not in shape to upload but once it is done, he will be posting it to the website. Since you seem to be just modifying shutter speed and external pulse, you will most likely not have to adjust the canvas, but just call the imgGrabSetup and restart the acquisition.
12-07-2007 11:30 AM
12-10-2007 01:45 PM
12-10-2007 06:52 PM