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 clock 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?