How can I set trigger callback function for session based interface?
显示 更早的评论
Hi,
I want to callback some functions when trigger is executed in DAQ session based interface.
How can I set it? I tried to execute >> set(AI,'TriggerFcn',@show_data); but matlab says "TriggerFcn is not an accessable property for 'daq.ni.Session'". The instrument is NI USB-6251 and Matlab version is R2013b.
Sincerely yours
1 个评论
Yishai
2015-5-12
Has anyone looked into this int he past 9 months? This is essentially capabilities that existed in the past and were removed.
回答(2 个)
Walter Roberson
2015-5-13
1 个投票
2 个评论
Ryoya Ikuta
2015-5-13
Walter Roberson
2015-5-13
If I solved the problem, please mark my answer as Accepted.
Yishai
2014-8-4
0 个投票
I would like to second this question. This is functionality that existed in the legacy based interface and was removed in the session-based interface. I don't know how to convert my old code to this now.
类别
在 帮助中心 和 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!