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.

Destination

Indicates trigger destination terminal

Description

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

Example

Examine a Trigger Connection Destination

Create a session with a trigger connection and examine the connection properties.

Create a session and add 2 analog input channels form different devices.

s = daq.createSession('ni');
addAnalogInputChannel(s,'Dev1', 0, 'voltage');
addAnalogInputChannel(s,'Dev2', 0, 'voltage');

Add a trigger connection and examine the connection properties.

addTriggerConnection(s,'Dev1/PFI4','Dev2/PFI0','StartTrigger')
ans =


Start Trigger is provided by 'Dev1' at 'PFI4' and will be received by 'Dev2' at terminal 'PFI0'.

     TriggerType: 'Digital'
TriggerCondition: RisingEdge
          Source: 'Dev1/PFI4'
     Destination: 'Dev2/PFI0'
            Type: StartTrigger
Was this topic helpful?