Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to analize what I'm writing on my DAQmx?

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 

0 Kudos
Message 1 of 2
(2,917 Views)

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

0 Kudos
Message 2 of 2
(2,864 Views)