Hi there,
I have previously used an encoder as sampling clock to get displacement
equidistant measurement instead of time equidistant measurements.
ONE BIG PITFALL: The clock cannot distinguish forward movement from
backward movement - hence jitter becomes a problem.
Regards
Hans Christian Olesen
"toddd" skrev i en meddelelse
news:5065000000050000000A1E0100-1042324653000@exchange.ni.com...
> Greetings,
>
> I work with our data acquisition devices and so I will try to help you
> with the DAQ section of your questions.
>
> 1. You will need to send a signal over the RTSI line or the DAQ
> device won't be receiving an external clock. The source of the Select
> Signal VI will need to be an encoder signal that will be routed to a
> RTSI line. The DAQ device will then be configured to use that RTSI
> line as an external clock. Therefore, if you aren't routing anything
> to RTSI 0, the DAQ device will never acquire data.
>
> 2. You are routing one of the encoder signals thru RTSI to the clock
> of the E Series device. With encoder signals, 4 counts of motion
> correspond with just 1 pulse of an encoder signal. So, if you set the
> target position to 4000, the encoder signal you're routing over RTSI
> will only be pulsing 1000 times. That means that the DAQ device will
> be taking 1000 readings and so if you want to take every A/D reading,
> you'll want to set the number of scans to acquire to be 1/4 of the
> target position.
>
> 3,4. With regards to stopping the DAQ device -- the DAQ device will
> keep acquiring data if you are giving it an external clock.
> Therefore, if you alter the motion part of the code and still want to
> sychronize with DAQ, you still just need to share an encoder signal
> over RTS
I. If you know how many total position movements will occur,
> you will just need to take that total position number divided by four
> to determine how many scans to acquire with DAQ. I hope this helps.
>
> Regards,
>
> Todd D.