## Trigger

### Trigger Mode

TM

Switches the hardware trigger on/off.

Version 1.6 and higher.

#### TCP/IP:

Command String:

TM,<cam>,<hw trigger>

Field | Arguments
--- | ---
TM | The command
<cam> | The camera(s) to be changed 0: All available cameras 1: Camera 1 only 2: Camera 2 only
<hw trigger> | 0: off 1: on

Result String:

TM,<Status>

Field | Arguments
--- | ---
TM | The command
<Status> | The result status 1: Success <=0: Fail

#### SLMP:

Send command (Input Block)

Offset | Value | Description
--- | --- | ---
VIB_Offset + 2 | 1050 | Command: TM command ID
VIB_Offset + 3 | <cam> | Argument0: The camera(s) to be set
VIB_Offset + 5 | <hw trigger> | 0: off 1: on

Receive Result (Output Block)

Offset | Value | Description
--- | --- | ---
VOB_Offset + 5 | 1050 | Command: TM command ID
VOB_Offset + 6 | <Status> | The result Status: 1: Success <=0: Fail

When HW trigger mode is enabled, the system must be operated as follows:

1. Enable HW trigger mode (TM,0 command). The trigger mode should always be set for all cameras
2. Send command (XT, XA, LF, ...). This arms the coming HW trigger.
3. Fire HW trigger. This triggers a acquisition and completion of the previously sent command. The command result will be sent.
4. Continue with step 2.