SoftTrigger
Top  Previous  Next

Description

Sets/resets the software trigger signal.


Syntax


[VB]
objActiveDcam.SoftTrigger (State)


[C/C++]
HRESULT SoftTrigger( bool bState);


Parameters

State: Boolean  

Parameters [C/C++]

State [in]  
Set to TRUE to set the software trigger, or set to FALSE to reset it  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example demonstrates the use of the software trigger:

Private Sub 
Form_Load()

ActiveDcam1.Acquire = 
True
ActiveDcam1.Trigger = 
True
ActiveDcam1.TriggerSource = 7
End Sub

Private Sub
 SoftTrig_Click()
ActiveDcam1.SoftTrigger (
True)
End Sub
 

Remarks


Use SoftTrigger to generate the software trigger signal. Note that this method will only have effect if Trigger is enable and TriggerSource is set to 7 (software trigger) . The trigger signal will typically initiate an acquisition of a single frame. Note that for TriggerModes 0, 2 and 4 you don't need to reset the software trigger, as the trigger will clear itself.