Hi, I've been trying to simulate a QRS waveform for a simulation program I am making. I have the waveform plotted, I can get the timing right, and scale it. I am using a Ni 9263 DAQ. When I first start the program I write the waveform to the DAQ and right away on my osciliscope I see the waveform. Now I have set a timer to delay a certain amount of time (usually about 20-60 seconds). When I get to the next for loop (I have to change the waveforms amplitude to 3 different settings) it takes about 10 seconds for the waveform to change.
At first I was thinking it could be a limit of the write speed of the DAQ, but I limited the number of points (about 500 over 2 seconds, should be able to do it no problem) and it still takes the same amount of time. I also do not think this is the problem because as soon as I enter the loop the first time it just goes right away. Am I doing something wrong here, do I need to clear the data first?