필터 지우기
필터 지우기

Can I gate a counter using session based data acquisition?

조회 수: 2 (최근 30일)
Richard Garner
Richard Garner 2014년 6월 5일
댓글: Rich Garner 2021년 1월 27일
I have a NI-USB-6259, which has two counters. I am using ctr0 which is on PFI-12. Everything works fine in that I create the session, add the counter as output and put it in "pulse generation" mode. A continuous train of pulses comes out. (Oh yeah, I make session.isContinous=true.) The hardware allows for gating the counter. Gate is on PFI-9 according to the hardware manual. Can I somehow make this a gate? Or is this not supported in the session based DAQ toolbox (and of course not in the legacy based either since it does not support clocks/counters unless working through ao and ai).
As an aside, it seems like there is alot of functionality not present in the Matlab DAQ toolbox. I prefer to use Matlab, but I'm afraid I might have to resort to Labview, which has extensive functionality in this regard (fairly complete with their own products).
  댓글 수: 2
Raphael Mocek
Raphael Mocek 2015년 6월 11일
Do you have an answer to this question by now? I´d be very interested in gated counting, too !
Rich Garner
Rich Garner 2021년 1월 27일
Didn't get an answer. I forgot all about this until now. I accidentally came across my own question that I made years ago. Now I need this again for totally different reasons. But still no answer.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data 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