L I B R A R Y F U N C T I O N S
Data Device Corporation
SB-3624XIX-3L0 Manual
www.ddc-web.com
Rev D -10/15
68
void WINAPI Program_Encoder (int Card, int Channel, int Encoder)
DESCRIPTION
Turns the Encoder on a channel either “On” or “Off”. Error checking is performed, appropriate bits
are masked, and the new value (0 or 1) is written to the card.
INPUT DATA
Card = an integer between 0 and 7 for the card of interest. The card number is set in the Motion
Feedback Board Manager.
Channel = an integer between 0 and 5 for the channel of interest.
Encoder = an integer which is either a “0” (turns Encoder On), or a “1” (turns Encoder Off).
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code
Result/Returned Data
Program_Encoder(4,4,0);
Turns the encoder of card #4, channel 4,
on.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com