05-02-2013 08:40 AM
The timer is changing in increments of 100 milliseconds. Is it possible to decrease this to 1 millisecond? For my application, I need to know when the waveform time is a millisecond multiple of a specified number, for example, 7. I have a boolean indicator, and I would like it ot show true every time the time is a multiple of this value.
Is is possible to change the timer increment to accomplish this? Or is there a better method for achieving my goal?
Solved! Go to Solution.
05-02-2013 08:56 AM
What timer are you talking about?
Can you attach a VI that demonstrates what you are talking about?
05-02-2013 09:08 AM - edited 05-02-2013 09:08 AM
Use quotient and remainder function. Input your time and devider=7. When remainder=0 => boolean indicator.
05-03-2013 03:06 AM
Attached is my vi. I have tried using the quotient and remainder function, but the problem is that since the time increment goes up by 100 ms, it is never a multiple of 7.
05-03-2013 06:37 AM
Your timing problem is in the Simulate Signal express VI. You are telling it take 100ms worth of data. Therefore your loop will run at around the 100ms. If you want your loop to iterate at the 1ms (good luck with Windows), tell the express VI to only gather 1ms worth of data. In your case, that would be 360 samples instead of the 36k samples.