addTriggerConnection to mcc analog input device
1 次查看(过去 30 天)
显示 更早的评论
I am trying to create a program for acquiring data with an MCC USB-1602 device. This has not been possible with the session-based approach until Matlab 2017a. I now have this version, and have downloaded Measurement Computings hardware support package. I can now create a session and add channels to it. I can use it to gather data. So far everything is ok. The problem is that I cannot add triggers to the session object. When I use the function "addTriggerConnection" I get the following error: "Method 'addTriggerConnection' is not supported on objects of class 'daq.sdk.Session'."
Is this a bug? Or is the hardware support package for MCC not complete? When I try to debug, I feel like there are things missing from the vendor specific session subclass.
Any advice is greatly appreciated!
/ Patrik
0 个评论
回答(1 个)
Ankita Nargundkar
2017-4-26
Although Measurement Computing data acquisition hardware is supported via the Session interface in MATLAB R2017a there are some caveats. Supported functionality is for analog input and analog output operations (inputSingleScan, outputSingleScan, startForeground, startBackground) in MATLAB.
The following functionality is NOT currently supported - Digital channels - Hardware trigger - External clock - Compatibility with Data Acquisition Toolbox Simulink blocks
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!