06-30-2005 07:56 AM
06-30-2005 09:10 AM
06-30-2005 04:40 PM
07-19-2005 09:42 AM - edited 07-19-2005 09:42 AM
Message Edited by Maxime on 07-19-2005 09:43 AM
07-19-2005 10:18 AM
07-19-2005 12:33 PM
07-20-2005 09:18 AM
07-20-2005 03:03 PM - edited 07-20-2005 03:03 PM
@Kevin Price wrote:
Maxime,
If you can make your comparator signal TTL-compatible (sharp clean transitions from between logic levels), you should be able to accomplish steps 2-4 using the counter/timers on your board. Briefly:
1. Configure 1st counter for pulse generation using units of "Ticks". Use the comparator signal as the timebase. Set "Initial Delay" and/or "Low Time" to be N (I don't remember which of these settings is actually used for a single pulse). "High Time" can be any value >= 2. This counter will generate a single pulse with a rising edge corresponding to the 0 deg point of your sinewave after N periods.
2. Configure 2nd counter for pulse generation using the first counter's output as a start trigger. Use the analog sampling clock as the timebase. Again set up "Initial Delay" and/or "Low Time" to be n. "High Time" depends on how your external circuit works. If rising-edge sensitive, "High Time" shouldn't matter much. If level-sensitive, you may need "High Time" to be as long as the entire data acquisition.
Sorry this is short and dense, but I've gotta run now. Post back for more specifics...
-Kevin P.
Message Edited by Maxime on 07-20-2005 03:04 PM
07-21-2005 08:27 AM
07-22-2005 11:19 AM