Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Status code : -200278 = how to read samples when referenceTrigger and AsyncReading

Hello, I've got a 6251 PCI card. I want to trig to APFI0 and read 3 channels-> everything is ok if i make a sync read. Now I want to install an event handler and make an async reading. When I make a second "ReadMultiSampleAsync (-1, m_data, NULL)" an exception occurs : Status code : -200278 I don't know what happens. The message says : "the final sample acquired can be determined by querying the total samples acquired after an aquisition has stopped". I cannot find this API... Could you help me ? I attached a mini Visual C++ Project wich shows my problem.
0 Kudos
Message 1 of 2
(2,588 Views)
Hi,

There is a KB about this issue at this link.
http://digital.ni.com/public.nsf/websearch/4159A4241B8A24B3862570EC007AB6B7?OpenDocument

Johan G.
NIF
0 Kudos
Message 2 of 2
(2,568 Views)