Eyal S.
2008-07-12 01:40:05 UTC
Hi, I'm using an external clock for voltage measurements and at the same time I'm measuring the period measurement of the external clock. In other words I'm trying to get a time stamp every time I make a voltage measurement with an external clock.I've attached the code.I'm using one counter to filter high frequency bursts and than using the internal output of that counter as an external clock for the voltage measurements. I also connected the output of the same counter physically to a second counter used for period measurements.The Voltage measurements and the period measurements are supposed to be synchronized but the buffer size at the end of the measurements is sometimes the same and sometimes the period measurements buffer is bigger by one. The buffer size should always be the same but for some reason is not. I have no idea why that is happening. If someone can help me figure out what is going on that would be great.Thank you,Eyal
Sync_AI_Period.vi:
http://forums.ni.com/attachments/ni/250/41504/1/Sync_AI_Period.vi
Sync_AI_Period.vi:
http://forums.ni.com/attachments/ni/250/41504/1/Sync_AI_Period.vi