ICP DAS USA IM-100 Manual Do Utilizador

Página de 109
IMC_OutputPort_Configure 
Syntax: 
Visual C++ 6.0 / Boland C++ Builder 6.0: 
short IMC_OutputPort_Configure ( HANDLE Camera_Handle, int Output_Port, int 
Source_Signal); 
Visual Basic 6.0 
IMC_OutputPort_Configure (ByVal Camera_Handle As Long, ByVal Output_Port As 
Long, ByVal Source_Signal As Long) As Integer 
C#.NET 2003 
Mavis.IMC_OutputPort_Configure( IntPtr Camera_Handle, int Output_Port, int 
Source_Signal ); 
 
 
Description: 
This function configures the hardware sources for specific Output Port. 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(). 
 
Output_Port: The Output Port to be configured. The Ports can 
be:  
 OUTPUT_PORT_0, 
OUTPUT_PORT_1, 
 
 
OUTPUT_PORT_2 and OUTPUT_PORT_3 
Signal_Source 
The hardware Signal Source for Output Port and the sources 
can be:   
 INTEGRATE_ENABLED_SIGNAL 
(0x00), 
 TRIGGER_READY_SIGNAL 
(0x01), 
 
 USER_SET_SIGNAL 
(0x03) 
STROBE_SIGNAL (0x04) 
 
 - 
77