03-29-2010 07:44 AM
Hi everybody,
I need to write a rectangular wave with like 1000 steps and a period of 300u each one on my DAQmx(PCIe-6251), I can do this without problems but I need to make it in a loop and have like 100 ms of dead time between each wave train. what should take 300 ms takes 400ms.
So I see 2 solutions, or I reduce the dead time with some optimization (Don't have any idea if is possible.)
or I can write a continuous train wave (so it will have no dead time for initialization ) and every time that I write 1000 periods I have a flag or a boolean variable that says me that 1000 periods are wrote.
But I have no idea how to analyze what I'm writing without make a bridge, but for sure should have a way to do this.
Please someone can help me on this ?
Thanks in advance,
Tiago Dowsley
03-31-2010 09:59 AM
Hello Tiago,
You can use the “Cont Gen Voltage Wfm-Int Clk.vi” which is shipped with the NI Example-Finder to create a waveform.
Open the Example Finder: Help -> Find Examples
The example is located in the following directory:
Hardware Input and Output -> DAQmx -> Analog Generation -> Voltage -> Cont Gen Voltage Wfm-Int Clk.vi
Regards
Ulrich
AE NI-CER