PCI-1202/1602/180x Series Card
Multi-Function Boards
User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 107
The sample code for
single board
is given as follows:
wRetVal=P180X_Card0_StartScan(……);
// setup continuous capture function
// this function will create thread
if (wRet != NoError)
{
Show error message & return
}
// now the thread is active and the continuous capture function is going now
for(;;)
{
wRetVal=P180X_Card0_ReadStatus(…);
if (wRetVal != 0)
{
show these A/D data or
save these A/D data or
analyze these A/D data
}
if (stop flag is ON)
/
/ for example, the user press STOP key here
{
Card0_StopScan(…);
return OK
}
}