Discussion:
Encoder simulation
(too old to reply)
Nandopr
2007-07-05 09:40:11 UTC
Permalink
Hello,
I have to simulate an encoder signal TTL 0-5V using LabView 7.1 and a DAQ NI USB 6008.
The encoder signal must have A and B signals with 90° of phase.
How can I do?
 
Thanks,
Nando
Fabio_81
2007-07-07 21:11:42 UTC
Permalink
Hello Nando,
you could do it using two counters, one generating&nbsp;the first&nbsp;output pulse train and another one generating a second pulse train with 90 degree phase delay. I verified that the 6008 has&nbsp;only one counter,&nbsp;and the digital I/O are static and not&nbsp;suitable for generating a continuous pulse train. You may use another 6008 board or select another device with better performances.&nbsp;A possible choice&nbsp;may be the <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/203189" target="_blank">NI USB-6210</a>&nbsp;
&nbsp;
Hope this helps,
&nbsp;
Fabio

Loading...