ICP DAS USA PCI-1202L User Manual page 107

Multi-function boards
Table of Contents

Advertisement

PCI-1202/1602/180x Series Card
Multi-Function Boards
The sample code for single board is given as follows:
wRetVal=P180X_Card0_StartScan(......);
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)
{
Card0_StopScan(...);
return OK
}
}
// setup continuous capture function
// this function will create thread
// for example, the user press STOP key here
User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents