03-22-2010 04:08 AM
Hi, I need to generate single pulse on my NI PCI 6281 AO0 channel. The pulse should be rectangular and I need a possibillity to control the levels (due to offset which isnt large but I would like to lower it) and the pulse rise and fall time (up to 50 us).
The pulse duration should be contollable and should be in range from 100 us to 1 ms. The pulse duration should be as precise as possible. Since maximum update rate of my card is 2,86 MS/s using a 2MS/s would be sufficient.
Does anyone has similar application or can help me with labview code that could preform as described.
I allready tried some programming using a DAQmx example (Gen Mult Volt Updates-Int Clk) as can be seen in picture but this application stops working when I try to lower dt to less than 4e-5, which is too small output sample rate. I get error message -200018: Measurement conversion attempted before data to the converter was available.
I also found similar VI but it creates lot of pulses and I do not know how to modifiy it. It is also attached.
I am very gratefull for any help you could provide.
Dalibor
03-23-2010 04:48 PM
Dalibor,
Can you make that error occur on the unmodified example thats in the Gen Mult Volt Updates-Int Clk VI? If so I would like to know the configuration parameters that cause that. I think you are on the right track by using that example. However another option would be to use a counter to generate your pulses and an external analog controlled amplifer to adjust your gain.
Regards,