F U N C T I O N C A L L S
WORD WINAPI Read_Converter (int Card, int Channel)
DESCRIPTION
This routine will first set the inhibit of the channel to a logic "0" (freeze data), read the output
of the R/D converter of the channel of interest, and then release the inhibit (set it to logic "1"
- track data).
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.
RETURNED DATA
This routine will return the digital data from the channel of interest in the form of a WORD
(range = 0x0000 to 0xFFFF).
EXAMPLE CODE
Code Result/Returned
Data
WORD Converter;
Converter =
Read_Converter(5,0);
Returns the output (as a WORD)
of card #5, channel 0.
Data Device Corporation
SB-3621X Manual
59
Summary of Contents for SB-3621 Series
Page 3: ......