Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6361 DAC Finite State sending information in transmiter buffer 100K samples, the error: "An unhandled Win32 exaption occurred in MultVolt...c"

6361 DAC in Finite State sending real information in transmiter buffer 100K samples, the error: "An unhandled Win32 exaption occurred in MultVolt...c"

0 Kudos
Message 1 of 18
(3,814 Views)

Hi Sea-vain,

 

Could you please provide some more information on the error you're experiencing? Is there an error code? A screenshot would also be very helpful. Thanks!

 

Cheers,

Carisa

Applications Engineer
National Instruments
0 Kudos
Message 2 of 18
(3,802 Views)

 

Subject: problems of using USB-6361

 
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.
0 Kudos
Message 3 of 18
(3,762 Views)

Hello Sea-vain,

 

Thanks for the reply, I am currently looking into this issue. Could you please post screen shots of the error you are getting.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 18
(3,738 Views)
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.
0 Kudos
Message 5 of 18
(3,733 Views)

Hello Sea-vain,

 

Could you please post your code and screenshots of your error messages, thanks

 

Paul

 

Applications Engineer
National Instruments
0 Kudos
Message 6 of 18
(3,712 Views)

Please, send me your e-mail as I did not manage to attach the requested information from the forum

0 Kudos
Message 7 of 18
(3,689 Views)

Hello Sea-vain,

 

Thanks for the update, I am currently looking through the files you uploaded.

 

Paul

Applications Engineer
National Instruments
0 Kudos
Message 10 of 18
(3,668 Views)