I use NI DAQ USB-6361.
In the "rar" file I've sent two directories with the projects - one directory it NICont Gen Volt Wfm-Int Clk with project VC_ContGen_IntClk.dsw(transmite) and
directory NIAcqIntClkInt with project VC_Acq_IntClk.dsw(receive) .
I am working with Microsoft Studio 2008. For our task I need buffer having the size, that enough for transmitting and receiving the data with the volume up to 1Gb,
and sampling frequency up to limits USB-6361(minimum 1Msamples).
So, the problem is - with large buffer size in case using DAQmx set function.
I want to ask the next question:
1.If I work in the Finite Mode with DAC, I do not manage to write in transmit buffer more than 124000 (see functions DAQmxCfgSampClkTiming and DAQmxWriteAnalogF64), so that if I used the buffer more that 124k (for example 125K or 200K) I've got errors.You can see it the attached jpg files: LimitedBufferFinite125k.jpg (Status Code:-50251) and LimitedBufferFinite200k.jpg (message from Visual Studio).I used the project VC_ContGen_IntClk.dsw.
This is a very strange situation, as the receiver buffer (when I work in the mode of ADC) has no such limit and permits to write 188Msamples into the buffer! Please, explain.
2.If I work in the Continuous Mode with DAC, I do not manage to write in transmit buffer more than 1000 . I got the error. You can see it the jpg files: LimitedBufferFinite200k.jpg(Status Code:-20561). I used the same project VC_ContGen_IntClk.dsw.
3.If I work in the Finite Mode with ADC I do not manage to write in receive buffer more than 188M(see functions DAQmxCfgSampClkTiming and DAQmxWriteAnalogF64),
so that if I used the buffer more that 188M I got errors.You can see it the jpg files: LimitedBffer200M.jpg(Status Code:-50352) and LimitedBffer256M.jpg(Status Code:-50202) .
I used the project VC_Acq_IntClk.dsw.
What are the limits of receive and transmit buffers really?
Can I get real-time processing to read data from ADC and write to RAM or Hard disk with sampling frequency up to 2Msamples or it is also limited ?
Thank you in advance for your cooperation.