Trigger
Top  Previous  Next

Description

Enables/disables the selected trigger.


Syntax


[VB]
objActiveUSB.Trigger [= Value]


[C/C++]
HRESULT get_Trigger ( bool *pTrigger );
HRESULT put_Trigger( bool Trigger );



Data Type
[VB]

Boolean


Parameters
[C/C++]

pTrigger [out,retval]  
Pointer to the Boolean that is TRUE if the trigger mode is enable, or FALSE otherwise  
Trigger [in]  
Set to TRUE to enable the trigger mode, or set to FALSE otherwise  


Return Values


S_OK  
Success  
E_NOINTERFACE  
Triggering is not available for the selected camera  
E_FAIL  
Failure.  
 

Example


This VB example activates the trigger mode:

The following VB example sets a hardware trigger which will start the capture of each frame on the rising edge of the signal coming from the physical input Line1:

ActiveUSB1.TriggerSelector = "FrameStart"
ActiveUSB1.Trigger = 
True

ActiveUSB1.TriggerActivation = "RisingEdge"
ActiveUSB1.TriggerSource = "Line1"
ActiveUSB1.Acquire = 
True

 

Remarks

This property corresponds to the TriggerMode feature per GenICam standard.

Before turning the trigger on, select a corresponding trigger configuration with TriggerSelector.