NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
mikkuz
Posts: 5
0 Kudos

Basler Spl4096-140k, NI PCIe 1429, NI PCI 6731

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


 

Member
rivand
Posts: 171
0 Kudos

Rif.: Basler Spl4096-140k, NI PCIe 1429, NI PCI 6731

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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page