Hi,
I modified the 'cont acq&graph voltage-int clk.vi' to acquire a bunch of waveforms (40). I show one of the waveforms real time (in a waveform chart) to the subjects using a for loop that runs for a specified time (for example, 5000 times (sampling rate 1000 Hz * time 5s)).
Problem I face: The loop timing varies. I.e., sometimes the loop is getting executed fast, say for 4 sec (5000 times). Other times, it is perfect.I use a 'elapsed time.vi' to monitor the time.
My question is:
1. Are the irregularties in the timing related to RAM (1GB) and processor (2.5 GHz) or the VGA capacity of the computer?
2. Even if I use 'timed loop' the problem persists. It takes a longer time to get executed. As a result I see a sudden brake in the waveform that comes real-time. What could be the problem?
3. Most importantly, how do I plot the graph in real-time continuosly as I receive the input without any time lag.
Your input is highly appreciated.
pi