05-11-2011 10:25 PM
Hi all
How does output buffer matters ? and how do I manipulate it's volume in order to receive a good signal in the output channel
05-12-2011 02:30 AM
Hey,
Questions regarding Hardware = Hardware Forums
Out of your other post's it seems that you are talking about DAQmx, so the Help gives a pretty good answer to your question:
How is Buffer Size Determined? (Output Tasks)
For generations, the amount of data you write before starting a generation determines the size of the buffer. The first call to a Multiple Samples version of the Write function/VI creates a buffer and determines its size.
You also can use the Output Buffer Config function/VI to create an output buffer. If you use this function/VI, you must use it before writing any data.
The samples per channel attribute/property on the Timing function/VI does not determine the buffer size for output. Instead it is the total number of samples to generate. If n is your buffer size, setting samples per channel to 3×n generates the data in the buffer exactly three times. To generate the data exactly once, set samples per channel to n.
NI-DAQmx does not create a buffer when the sample mode on the Timing function/VI is set to hardware-timed single point.
Christian
05-12-2011 05:03 AM
Hi Christian
Thank you very much ,the reason I posted this question is that I am trying to generate a signal and receive it by using the same DAQ (NI pci 6251) in order to be sure that I know how to gnerate and receive signal with frequency equals to 100kh .Later I will inter this signal to an impedance in order to measure it's frequency response .I'm new in labview so I started with generating and receiving the same signal ,so far no success is achieved because I get a distorted signal in AI .If you have any ideas I would be pleased to hear them
Best regards
Fares
05-13-2011 03:43 AM
Hi Fares,
The following documents might give you some help:
Read the Value of Analog or Digital Output Channels (without external wiring)
Analog Outputs Regeneration Modes
Data Transfer Request Condition for Continous Analog Output
Thanks,
Christian