Multifunction DAQ

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 18 条)
4,363 次查看

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 项奖励
2 条消息(共 18 条)
4,351 次查看

 

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 项奖励
3 条消息(共 18 条)
4,311 次查看

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 项奖励
4 条消息(共 18 条)
4,287 次查看
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 项奖励
5 条消息(共 18 条)
4,282 次查看

Hello Sea-vain,

 

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

 

Paul

 

Applications Engineer
National Instruments
0 项奖励
6 条消息(共 18 条)
4,261 次查看

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

0 项奖励
7 条消息(共 18 条)
4,238 次查看

Please, review the attachments

0 项奖励
8 条消息(共 18 条)
4,237 次查看
0 项奖励
9 条消息(共 18 条)
4,234 次查看

Hello Sea-vain,

 

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

 

Paul

Applications Engineer
National Instruments
0 项奖励
10 条消息(共 18 条)
4,217 次查看