04-15-2008 03:01 AM
04-18-2008 05:49 AM
Hello there!
This sounds like an interesting and rather complicated scenario. But, I am more than willing to help the best I can. Before we can go any further, I’d like to ask you a few questions...
1. What Hardware are you using? Also, how are you currently reading these encoder generated trigger pulses?
2. Which software are you using? I assume from you post that LabView is on the cards – if so which version?
Finally, could you confirm the following details, to ensure that we understand exactly what you are trying to do.
- Each cycle of the engine will cause the encoder to generate 2 pulses (Pulse1, Pulse2).
- The frequency of the trigger pulse train is going to vary, as is the number of samples required at each acquisition.
- You wish to consistently ignore one of the trigger pulses generated by each engine cycle.
Sorry that this is not a solution post, but it is quite a tricky scenario. The more information we gather now, the more we can help you.
I look forward to hearing from you very soon,
Best wishes
04-18-2008 07:07 AM
Hi, Richard,
thanks a lot.
1. What Hardware are you using? Also, how are you currently reading these encoder generated trigger pulses?
I am using NI PCI-6251 and I am using the external clock.When the shaft encoder turns one revolution, which is 360 degree, 3600 pulses are sent to the card, and 3600 data are recorded.
2. Which software are you using? I assume from you post that LabView is on the cards – if so which version?
Labview 8.0
3. Each cycle of the engine will cause the encoder to generate 2 pulses (Pulse1, Pulse2).
Yes, one engine cycle has two shaft encoder revolution, which is 720 dgree and the shaft encoder gives one trigger signal per revolution.
4.The frequency of the trigger pulse train is going to vary, as is the number of samples required at each acquisition.
Yes, as the engine speed is varying.
5. You wish to consistently ignore one of the trigger pulses generated by each engine cycle.
Yes, I only want the same pulse for each engine cycle.
04-18-2008 07:18 AM
04-25-2008 09:14 AM