problem triggering session using addTriggerConnection
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to trigger analog input recording using addTriggerConnection.
startForeground(s)
s = daq.createSession('ni')
addAnalogInputChannel(s,'Dev1','ai0','Voltage');
addTriggerConnection(s,'external','Dev1/PFI1','StartTrigger')
startForeground(s)
a momentary button is connected to PFI1 and transmit a 5V signal but nothing happens when I press it.
The property s.IsWaitingForExternalTrigger remains false too. What am i doing wrong? I am using a NI 6036e.
Cheers,
Roberto
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 National Instruments Frame Grabbers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!