ADLINK Technology RTV Series User Manual page 124

Multi-channel real-time video frame grabber series
Table of Contents

Advertisement

{
}
ResetEvent(hEvent);
}
Return TRUE;
}
AngeloRTV_Set_Int_Event(PortNo,&hEvent);
pThread =CreateThread(NULL, 0, IntThreadProc, 0,
0, &threadID);
Use Callback Function:
U16 PortNo = 0;
void __stdcall MediaStreamProc( U32
VideoBufferaddress ,U16 PortNo)
{
U32 Status;
AngeloRTV_Get_Int_Status(PortNo,&Status);
if((Status&0x01)==1)//GPIO
{
}
if((Status>>1&0x01)==1)//Channel 0 of the
nPort
{
}
else if((Status>>2&0x01)==1)//Channel 1 of
the nPort
{
}
else if((Status>>3&0x01)==1)//Channel 2 of
the nPort
{
}
else if((Status>>4&0x01)==1)//Channel 3 of
the nPort
{
}
}
AngeloRTV_Set_Callback(PortNo,MediaStreamProc);
< Visual Basic >
Use Callback Function
Dim Result As Integer
Dim PortNo As Integer
Public Sub lpcallback(ByVal VideoBufferaddress As
Long, ByVal PortNo As Integer)
114
Function Library

Advertisement

Table of Contents
loading

Table of Contents