フィルターのクリア

How to change terminal PFI of DAQ channel?

3 ビュー (過去 30 日間)
Hyeokjin Jho
Hyeokjin Jho 2021 年 4 月 2 日
編集済み: Hyeokjin Jho 2021 年 4 月 2 日
I am using NI 6052E. I have to count input pulse using counter ctr0. The input signal is physically connected to PFI0.
However, if I create channel using addinput, it forces input terminal to be default value, PFI8. Is there any way to change this input terminal?
Currently, when I run this code,
daqobj = daq('ni');
counterChannel= addinput (daqobj,'Dev1','ctr0','Edgecount');
disp(counterChannel.Terminal)
it gives
'PFI8'

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by