08-01-2012 06:52 AM
Hi,
i have a serious problem with the configuration on the title of the post.
I use the 6731 to generate an analog waveform, whose frequency samples trigger a pulse train that trigger the camera Basler through the frame grabber 1429.
If i choose a certain number of points of the waveform, for examples 4096, then the same certain number of line acquisition,
i don't have found any sequence of instructions in LabWindows/CVI that not lose lines, causing thetimeout error on the grab operation.
The instruction that i use, mandatory, are:
- imgGrabSetup( Sid, 0);
- Serial set the camera in external trigger
- imgSessionStartAcquisition(Sid)
- WriteAnalogF64 to load the buffer of analog output on 6731
- startTask for the generation of the waveform
- C "for" cicle in which i call only imgGrab(Sid, buffer)
Sid is the Session identifier.
I state that the 6731 and 1429 are well connected and work through RTSI bus.
In this configuration, with a Frequency Sample of the analog waveform of 100 microns and 4096 points, i lose 10-20 lines.
It seems that the lines acquisition starts always after the start of generation of the analog waveform although the trigger is generated by the same
analog waveform.
Anyone can help me.
Thank you in advance
Mikkuz
08-07-2012 03:31 AM
Which is the timeout error that you get? Is it the -1074397140 one?
In this case, please consider this KB
Why Do I Get A FIFO Error From My PCIe-1429 When Doing A Grab?
http://digital.ni.com/public.nsf/allkb/32F3F5E8B65E9710862573D70075EED1?OpenDocument
Regards