ICP DAS USA IM-100 Manual Do Utilizador

Página de 109
IMC_StrobeTimeBase_SetDurationTime 
++ Builder 6.
short IMC_StrobeTimeBase_SetDuratio
NDLE Camera_Handle, unsigned 
IMC_StrobeTimeBase_SetDurationTime
le As Long, ByVal Value 
As Long) As Integer 
C#.NET 2003 
Mavis. IMC_StrobeTimeBase_SetDurationTime(IntPtr Camera_Handle, Int32 Value); 
 
 
Description: 
This function set the Duration Time of Strobe. This function is workable only for the 
Output Ports that are configured to STROBE_SIGNAL. The camera needs be 
initialized with IMC_Camera_Init(). 
 
Parameters: 
Camera_Handle 
The handle for MAVIS camera. Use the handle gotten from the 
pHandle’ parameter of IMC_Camera_Init(). 
Value
 
The Duration Time of Strobe Control and allows value from 1 
~85. By default, the Value is setting on 1. 
 
Return: 
ERROR_SUCCESSFUL Successfully 
ERROR_CAMERA_CREATE 
The Camera_Handle is NULL. 
ERROR_DEVICE_UNINIT 
The specific camera has not been 
initialized. 
ERROR_INVALID_CAMERA 
The handle is invalid. 
ERROR_SOURCE_NOT_SUPPORT 
The source signal is not supported by that 
specific output port. 
Syntax: 
Visual C++ 6.0 / Boland C
0: 
nTime (HA
long Value); 
Visual Basic 6.0 
 (ByVal Camera_Hand
 - 
91