Download DB4getmud(int din)
Transcript
1202
XBDRV Software Reference
WG2ton( din )
Op Code
Prototype
Description
Arguments
Example
WG2_TON {0x21}
void WG2ton( int din);
Similar to WG2on, but causes the specified WG2 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.
WG2trig(1,NONE);
WG2ton(1);
WG2ton(2);
XB1gtrig();
/* Global trigger */
This will cause WG2_(1) and WG2_(2) to turn ON at
precisely the same time.
WG2clear( din )
Op Code
Prototype
Description
Arguments
Example
WG2_CLEAR {0x13}
void WG2clear( int din);
Clears the specified WG2 and resets it to the factory
default setup.
din
Device index number.
WG2clear(1);
This clears WG2_(1) and resets it.