Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Source

Indicates trigger source terminal

Description

When working with the session-based interface, the Source property indicates the device and terminal to which you added a trigger.

Example

View Clock Connection Source

Create an external clock connection and view the connection properties.

Create a session and add a digital input channel.

s = daq.createSession('ni');
ch = addDigitalChannel(s,'Dev1','Port0/Line2','InputOnly');

Add an external scan clock connection.

s.addClockConnection('External','Dev1/PFI0','ScanClock')
ans =


Scan Clock is provided externally and will be received by 'Dev1' at terminal 'PFI0'.

       Source: 'External'
  Destination: 'Dev1/PFI0'
         Type: ScanClock
Was this topic helpful?