F U N C T I O N C A L L S
void WINAPI Program_Encoder_Resolution (int Card, int
Channel, int Resolution)
DESCRIPTION
Programs the A quad B resolution of a channel to 10,12,14 or 16 bits. Error checking is
performed, appropriate bits are masked, and the new value 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.
*
Resolution:
10 = 10 bit resolution
12 = 12 bit resolution
14 = 14 bit resolution
16 = 16 bit resolution
Note:
Encoder (A quad B) resolution must be of equal or lesser value than the resolution
set on the card. For example, if the resolution set on the card is 14 bits, the A quad B
resolution must be set to 14 bits or less (not 16 bits).
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code Result/Returned
Data
Program_Encoder_Resolution(0,0,16);
Sets the resolution of
card #0, channel 0, to
16 bits.
Data Device Corporation
SB-3621X Manual
52
Summary of Contents for SB-3621 Series
Page 3: ......