F U N C T I O N C A L L S
void WINAPI Program_Ratio(int Card, int Channel, WORD Ratio)
DESCRIPTION
Programs the Two Speed Ratio between Coarse and Fine angles. A ratio of 1:2 would be
written as 2. A Ratio of 1:32 would be 32.
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.
Ratio = a WORD that represents the ratio between Coarse and Fine. (range = 2 to 128)
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code Result/Returned
Data
Program_Ratio(0,0,32);
Writes a Two Speed Ratio of 1:32
between channel 0 (Coarse) and
channel 1 (fine) on card #0.
Data Device Corporation
SB-3622X Manual
49