SetStrobe
Top  Previous  Next

Description

Sets the status, duration and delay of a strobe signal.


Syntax


[VB]
objActiveDcam.SetStrobe Index, Duration [, Delay, Polarity ] 


[C/C++]
HRESULT SetStrobe( short Index, long Duration [, long Delay, bool Polarity ]);


Data Types
[VB]

Index: Integer
Duration: Long
Delay: Long
Polarity: Boolean

Parameters
[C/C++]

Index [in]  
Short integer specifying the index of the strobe signal.  
Duration [in]  
Short integer specifying the delay of the strobe signal after the shutter start. Set to 0 to disable the strobe.  
Delay [in]  
Short integer specifying the duration of the strobe pulse.  
Polarity [in]  
Set to TRUE to enable the high active strobe output, or set to FALSE for the low active output.  
 
   
Return Values


S_OK  
Success  
E_FAIL  
Failure.  
 

Example


The following VB example activates strobe #0 and sets its parameters:

ActiveDcam1.SetStrobe 0, 40, 10, true
 

Remarks


Strobe signal is a timing output signal with shutter start. Each strobe signal is defined by delay after shutter start and pulse duration. If the duration is set to 0, the corresponding strobe signal will be disabled.

This method is available only for cameras that have the strobe feature compliant with DCAM 1.31 specifications.