필터 지우기
필터 지우기

How to setup analog trigger in daq

조회 수: 2 (최근 30일)
jon smith
jon smith 2012년 9월 18일
I have a NI-6259. I want to use APFI0 as a trigger from a reference oscillator. I have tried all the examples I could find. But all I can get to work is a single self triggered channel on the AIx
So i have something like this:
ai = analoginput ('nidaq', 'Dev1');
ch1 = addchannel(ai, ch);
%tgr = addchannel(ai,'HwAnalogChannel');
ai.TriggerType = 'HwAnalogChannel';
ai.TriggerChannel = ch1;% this should be APFI0 but doesnt work
ai.TriggerCondition = 'AboveHighLevel';
ai.TriggerConditionValue = 0;
I am using NI-DAQmx 7.3 and Matlab 2011b
I am still looking for an answer to this...
  댓글 수: 3
Andrew Scott-Mackie
Andrew Scott-Mackie 2012년 10월 26일
I have the same problem. I am using a DAQ NI-6251 with matlab 7.9.0 (2009b) The driver was installed last year and at the time the latest version 7.4 I really need to use the dedicated trigger port APFI0, because if I use one of the measurement channel the trigger voltage bleeds over into my measurement channels. And no it is not a legacy interface
Walter Roberson
Walter Roberson 2012년 10월 26일
R2009b only has what is now called the legacy interface, as compared to the newer session-based interface.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by