Filter löschen
Filter löschen

addTriggerConnection to mcc analog input device

1 Ansicht (letzte 30 Tage)
Patrik
Patrik am 21 Apr. 2017
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

Antworten (1)

Ankita Nargundkar
Ankita Nargundkar am 26 Apr. 2017
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
That is the reason you are unable to add triggers to session objects. Here is a related post

Kategorien

Mehr zu Hardware Discovery and Setup finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by