04-01-2009 11:18 AM
Hi,
In NI-DAQmx C Reference, it says that function DAQmxRegisterSignalEvent may receive 0 as options parameter value. In this case, "The callback function is called in a DAQmx thread. This is the default value.". I dont see it clear how many DAQmx threads there are. Which of the following is the DAQmx behavior:
1. There is only one thread and an event queue which are processed in order?
2. There is a pool of threads (more than one) that processes an event queue?
3. One thread is created for each event.
Thanks for your help,
Carlos
04-02-2009 01:47 PM - edited 04-02-2009 01:50 PM
Hi,
I'm sending to you two links that explain how the function "DAQmxRegisterSignalEvent" works.
http://digital.ni.com/public.nsf/allkb/8E4B9C0E5F68A14F862574AA002FC272?OpenDocument
http://digital.ni.com/public.nsf/allkb/DF5719473800838086256F1E0054FD7B?OpenDocument
Let me know if you have any question.
Regards
Luciano Borges
National Instruments Brazil