09-23-2010 04:18 AM
Hi all,
I have some questions about the generation of a output-pulse from a quadrature encoder on the input of (for example) the NI 6221.
Is it possible to generate a pulse every x counter values? Well, I think this should be possible!
But is it possible to change this x-value after each pulse? Especially if I have to set a new x-value every 2.5ms.
Or is it possible to tell the card an array of "Do-a-pulse-after-x-counts-after-your-pulse"-values so I have to tell only every ~1s?
Does anyone have experiences with such requirements?
Thanks, GrOl
09-24-2010 08:59 AM
Hi,
I think you would have to use one counter to count up till x, then you would start the second counter and let it
generate the output pulse you want. Afterwards you can update the x-value for the next pulse-generation.
But this would be all in Host-Software, no Hardware-Timing. If you want to do the
same in Hardware, I would recommend LabVIEW FPGA and a FPGA-Board.
regards
Marco Brauner NIG