Пример #1
0
//----------------------------------------------------------------------------
int DTFUN::Stop( void )
{
    ECODE status;

    status= olDaAbort(lphDass);
    if (outputclockonusercounter)
        status= olDaAbort(lphDassCT);

    return( status );
}
Пример #2
0
COctopusAOTF::~COctopusAOTF()
{	

	B.AOTF_loaded = false;

	HBUF hBuf = NULL;
	olDaAbort( hdass_9834 );
	olDaFlushBuffers( hdass_9834 ); 
	
	do {
		olDaGetBuffer( hdass_9834, &hBuf );           // get the buffer from the done queue
		if( hBuf != NULL ) olDmFreeBuffer( hBuf );    // and free it
	} while( hBuf != NULL );                          // until the done queue is empty	

	olDaReleaseDASS( hdass_9834 );					  // release the subsystem and the board
	olDaTerminate( hdrvr_9834 );
}
Пример #3
0
void COctopusAOTF::Stop( void ) 
{
	HBUF hBuf;
	
	olDaAbort( hdass_9834 );
	
	olDaFlushBuffers( hdass_9834 );                        // make sure flush all buffers to done queue
		
	do {
		olDaGetBuffer( hdass_9834, &hBuf );                // get the buffer from the done queue
		if( hBuf != NULL ) {
			olDmFreeBuffer( hBuf );
		}
	} while( hBuf != NULL );

	B.AOTF_running = false;

	m_status_AOTF.SetBitmap( m_bmp_no );

	Sleep( 50 );
}