Continuous analog output ao daq

5 ビュー (過去 30 日間)
Izaskun Azk
Izaskun Azk 2011 年 5 月 9 日
コメント済み: Timothée 2018 年 5 月 23 日
Hi! I'm working with a national instruments data acquisition USB 6211 with the aim of generating an analog signal during several hours. I work with SamplesOutputFcn event in order to introduce new samples into the engine each SamplesOutputFcnCount. The problem is that when 4.2929e+09 samples has been generated (at a SampleRate of 100000 S/s) the object stops outputting the signal when its status is still sending data.
Could anyone tell me if there is any limit in the number of samples that can be output per trigger with an analog output object?? I try to find it in the data acquisition toolbox's help without any success.
Thank you very much!
  1 件のコメント
Timothée
Timothée 2018 年 5 月 23 日
Hi,
Had you finally found a solution? I have the same kind of problem

サインインしてコメントする。

採用された回答

Daniel Shub
Daniel Shub 2011 年 5 月 9 日
I have not used that card (or even the DAQ toolbox in a long time). It would not surprise me if the limit was 2^32. In fact
log2(4.2929e+09)
ans =
31.9993
The limit is likely on the NI driver and not the DAQ toolbox. At 100 kHz, 2^32 samples is already 12 hours, how long do you need to go for? Can you lower the sample rate?
  1 件のコメント
Izaskun Azk
Izaskun Azk 2011 年 5 月 9 日
I can't lower the sample rate.Anyway you can be right, it maybe is a limit of the NI driver.However, I can't find this information in any National Instrument's domument. I need to generate 16 hours of the signal, therefore I am thinking about doing them in 2 sessions of 8 hours.
Thank you!

サインインしてコメントする。

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2011 年 5 月 9 日
Use a timer function to repeatedly call the analog out trigger function.
doc timer
  4 件のコメント
Sean de Wolski
Sean de Wolski 2011 年 5 月 9 日
(I haven't used the DAQ toolbox in a few years and I'm on a MAC which doesn't have it, sorry I can't be more specific.)
Izaskun Azk
Izaskun Azk 2011 年 5 月 9 日
I tried it, but you need to stop the running object to call the trigger function again, and I can't stop the generation of the signal.
Thank you!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by