ADLINK ACL-8216 User Manual

Page 59

Advertising
background image

C/C++ Library 51

5.12 _8216_AD_Soft_Trig

@ Description

This function is used to trigger the A/D conversion by software. When
the function is called, a trigger pulse will be generated and the
converted data will be stored in the base address Base +4 and Base
+5.

@ Syntax

int _8216_AD_Soft_Trig( void )

@ Argument

None

@ Return Code

ERR_NoError
ERR_BoardNoInit

@ Example

#include "8216.h"

main()
{

_8216_Initial( CARD_1, 0x220 );
/* Assume NoError when Initialize ACL-8216 */

_8216_AD_Soft_Trig();

printf( "Now, AD is triggered.\n" );
.
.
_8216_AD_Acquire( &data);
}

Advertising