Download DB4getmud(int din)

Transcript
1502
XBDRV Software Reference
DD1go(1);
This example will reset DD1_(1) to its default setting
and begin conversion.
DD1stop( din )
Op Code
Prototype
Description
Arguments
Example
DD1_STOP {0x12}
void DD1stop( int din);
Forces the specified DD1 to stop A/D - D/A
conversion immediately.
NOTE: DD1stop will not zero the DAC outputs, a
DD1clear must be issued to re-zero, if necessary.
din
Device index number.
delay(1000);
DD1stop(1);
These lines added to the example above will cause
the DD1_(1) to stop after a short delay period.
DD1tgo( din )
Op Code
Prototype
Description
Arguments
DD1_TGO {0x21}
void DD1tgo( int din);
Similar to DD1go, but causes the specified DD1 to
wait for a global or local XBUS trigger before taking
action (see XB1gtrig() and XB1ltrig() ). Useful for
synchronized triggering of multiple XBUS devices.
NOTE: Global and local triggering are available
only on XBUS hardware versions 3.0 or higher.
din
Device index number.