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.

StartTriggerTerminal

Specify start trigger source terminal

Description

The StartTriggerTerminal property specifies a synchronization trigger connection to start the NI-XNET channel on the connected source terminal.

To configure an NI-XNET CAN module (such as NI 9862) to start acquisition on an external signal triggering event provided at an external chassis terminal, set the CAN channel StartTriggerTerminal property to the appropriate terminal name. Form the property value character vector by combining the chassis name from the NI MAX utility and the trigger terminal name; for example, '/cDAQ3/PFI0'.

Note

This property can be configured only once. After it is assigned, the property is read-only and cannot be changed. The only way to set a different value is to clear the channel object, recreate the channel with canChannel, and configure its properties.

Characteristics

Usage

NI-XNET CAN channel

Read only

After assigned

Data type

Character vector

Examples

Configure a NI-XNET CAN module start trigger on terminal /cDAQ3/PFI0.

ch1 = canChannel('NI','CAN1')
ch1.StartTriggerTerminal = '/cDAQ3/PFI0'
start(ch1)  % Acquisition begins on hardware trigger

With a hardware triggering configuration, the InitialTimestamp value represents the absolute time the CAN channel acquisition was triggered. The Timestamp of the received CAN messages is relative to the trigger moment.

ch1.InitialTimestamp
messages = receive(ch1,Inf);
messages(1).Timestamp

See Also

Functions

Properties

Introduced in R2016a

Was this topic helpful?