
Function Library
113
@ Return Code
0: ERROR_NoError
-7: ERROR_Not_Initialized – Make sure the port has been
initialized by “AngeloRTV_Initial”.
-9: ERROR_Invalid_PortNo – Please input the correct
“PortNo” parameter.
@ Example
< VC/BCB >
Use Thread:
HANDLE hEvent=NULL;
void *pThread=NULL;
U32 threadID;
U16 PortNo = 0;
DWORD nObj;
U32 Size_Byte;
U32
Status =0;
I16 ISR_ON=0;
DWORD WINAPI IntThreadProc( LPVOID lpParam )
{
while( ISR_ON )
{
nObj = WaitForSingleObject(hEvent,
INFINITE);
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
Summary of Contents for cRTV-24
Page 4: ......
Page 8: ...List of Tables iv Table 5 2 C C Data Types 83 Table 5 3 Pixel Data 122 ...
Page 10: ......
Page 18: ...8 Introduction ...
Page 34: ...24 Hardware Reference Figure 2 8 STRG Address Jumpers ...
Page 55: ...Installation Guide 45 Figure 3 2 cRTV 24 3U cPCI ...
Page 61: ...Installation Guide 51 ...
Page 62: ...52 Installation Guide ...
Page 64: ...54 Installation Guide The Device Manager should be as follows ...
Page 67: ...Installation Guide 57 ...
Page 68: ...58 Installation Guide 3 When the following window appears please click Con tinue Anyway ...
Page 70: ...60 Installation Guide The Device Manager should be as follows ...
Page 72: ...62 Installation Guide 3 Click the Finish button to finish the installation ...
Page 76: ...66 Installation Guide ...
Page 144: ...134 Function Library ...
Page 174: ...164 Programming Guide ...