ICP DAS USA IM-30 사용자 설명서

다운로드
페이지 109
 
ol_ReadConfiguration 
ntax: 
+ 6.0 / Boland C++ Builder 6.0: 
le, unsigned 
 pOnOff, boo
ay, unsigned 
dConfiguration 
, ByVal 
sStrobeIndex As Integer, ByRef pOnOff A
ByRef pPolarity As Boolean, ByRef 
uration As Lo
Mavis.IMC_StrobeControl_ReadConfigur
mera_Handle, Int32 
sStrobeIndex, ref bool pOnOff, ref bool pPolarity, ref Int32 pDelay, ref Int32 pDuration); 
 
Description: 
This function reads the current setting of specific Strobe Control. 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(). 
sStrobeIndex 
The register index of Strobe Control and allows value from 0 ~3. 
pOnOff 
Enable or Disable strobe function. The value can be TRUE for 
enable strobe or FALSE for disable strobe. 
pPolarity 
The signal pulse setting for active Strobe Control and pPolarity 
can be one of below settings. 
 STROBE_CONTROL_LOWACTIVE 
 STROBE_CONTROL_HIGHACTIVE 
 
By default, the polarity of Strobe Control is 
STROBE_CONTROL_HIGHACTIVE. 
pDelay 
The delay time of Strobe and the Delay Value range from 0 to 
4095. By default, the delay time is setting on 0. 
pDuration 
The Duration Time of Strobe and the Strobe Duration range from 
0 to 4095. By default, the duration is setting on 0. 
IMC_StrobeContr
Sy
Visual C+
short IMC_StrobeControl_ReadConfiguration (HANDLE Camera_Hand
short sStrobeIndex, bool*
l* pPolarity,unsigned long* pDel
long* pDuration); 
Visual Basic 6.0 
IMC_StrobeControl_Rea
(ByVal Camera_Handle As Long
s Boolean, 
pDelay As Long, ByRef pD
ng) As Integer 
C#.NET 2003 
ation (IntPtr Ca
 - 
89