addTriggerConnection
(Not recommended) Add trigger connection
This session
object function is not recommended. Use DataAcquisition
object functions instead. See Version History.
Syntax
Description
addTriggerConnection(
establishes a trigger connection from the specified source device and terminal to
the specified destination device and terminal, of the specified connection
type.s
,source
,destination
,type
)
Note
You cannot use triggers with audio devices.
Tip
Before adding trigger connections, create a session using daq.createSession
, and add
channels to the session.
establishes a trigger connection from the specified source and terminal to the
specified destination device and terminal, of the specified connection type and
displays it in the variable tc
= addTriggerConnection(s
,source
,destination
,type
)tc
.
[
establishes a trigger connection from the specified source device and terminal to
the specified destination device and terminal of the specified connection type, and
displays the connection in the variable tc
,idx
]
= addTriggerConnection(s
,source
,destination
,type
)tc
and the connection
index in idx
.