TriggerSource
Top  Previous  Next

Description

Returns or sets the trigger source as defined by DCAM 1.31 specifications.
 
Syntax

[VB]
objActiveDcam.TriggerSource [= Value]


[C/C++]
HRESULT get_TriggerSource( long *pTriggerSource );
HRESULT put_TriggerSource( long TriggerSource );



Data Type
[VB]

Long


Parameters
[C/C++]

pTriggerMode [out,retval]  
Pointer to the trigger source ID. The values from 0 to 3 correspond to alternative hardware trigger sources (if available). The value 7 corresponds to the software trigger.  
TriggerMode [in]  
ID of the current trigger source  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  
E_INVALIDARG  
Invalid property value.  
 

Example


This VB example sets the software source for the trigger input operation.

ActiveDcam1.TriggerSource = 7
MsgBox ActiveDcam1.TriggerSource
 

Remarks


If the software trigger source is selected (TriggerSource=7), use SoftTrigger to generate the software trigger signal.