Hi Justin!
Thank you for your answer,i must ask you some more questions about this :
1.In the vi examples from the NI-TIO library (Count Edges (NI-TIO).vi and Generate Pulse Train (NI-TIO).vi)it isn't specified explicit how the counting or the PWM generation it is performed through DMA's or IRQ's.I know if i want to perform the operation through IRQ's i must explicit specify that using "Set DAQ Device Information".But if i don't specify that, which is the case here in your vi examples how the operations (the counting and the PWM generation) are performed ?
Can you give me a vi example in where the counting/generation of the PWM it's performed explicit (using Set DAQ Device Information) through IRQ's ?
2. In a control loop there is a limitatio
n speaking in terms of time regarding the signal acquisition time, the processing time , and the generation of the output signal time ? What i mean is if i have a control loop at 10 ms for example, using of the interrupts for 3 counters (i use 2 incremental encoders and i control a DC Motor with PWM signal so i use another counter for PWM generation of the output signal) will be enough to perform the control task ? How fast must i aquire the signals and generate the PWM signal to acomplish the control job ? Obviously all 3 operations : aquire,processing,generating the PWM signal should be performed in 10 ms.
Thank you very much for reading this and i'll be waiting for your answer as soon as possible.
Best regards,
Michael.