08-04-2009 02:05 PM
Hi Vishnu,
Try right-clicking the Digital Waveform Graph and selecting Properties. Then, see the below picture for where to make the appropriate change. Let me know if this helps. Thanks!
08-04-2009 02:22 PM
Dan
What exactly I am looking for is, when I run the VI for 15 seconds with a loop delay of < 50ms, when I stop teh VI the X axis (real time) doesn't ageree with what the elapsed time is. The elapsed time in this case is 15 sends, but the X axis end time is not what is should be (start time+15 seconds), Please run the attached VI with a loop delay of 10 seconds and observe the End time on X axis. Thanks a lot for looking into this.
08-04-2009 04:36 PM
Hi Vishnu,
Try the attached VI. I made the number of samples a control and wired it into the Divide before the XScale.Multiplier property.
I'm noticing now that this VI would be more efficient if the Loop Delay, Sample Rate, and XScale.Multiplier were outside the loop.
Thanks,
Dan
08-05-2009 08:32 AM
Dan
Thanks a lot for the idea. I have been looking at wrong location to improve the timing all along. The idea from you previous posting to move the Multiplier out of the loop did the trick for me. Some how using the property nodes inside a loop to slows it down. I really appreciate your help. Thanks a lot.
08-05-2009 06:28 PM
Hey Vishnu,
My pleasure - let us know if you have additional problems with that. That's great feedback about the VI I created. It's unlikely that you'll need to change those values at run-time and I'm not sure why I didn't think about that at the time. I guess I just threw something together for a quick example. Good luck!
Cheers,
Dan
P.S. try to mark forum posts that contain answers to questions as "Accepted Solution" when possible 🙂