LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9263 taking too long to write arb waveform

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?
0 Kudos
Message 1 of 3
(2,607 Views)
Hi Scotty V,
 
It's unclear to me from the snapshot how your program really works especially that it looks like you created the task in MAX.
I would really apreciate if you can attach the real VI you are using.
However, it's worth saying that you can not run more than one task in DAQmx . I'm guessing here that when you are asking the device to run the new task, the delay loop has not finished yet.
 
Regards,
Faris
 
Bueller
0 Kudos
Message 2 of 3
(2,574 Views)
Yeah, I rewrote the program, i start and stop the task at each command now and it works fine. Thanks.
0 Kudos
Message 3 of 3
(2,567 Views)