F U N C T I O N C A L L S
int WINAPI Read_Encoder (int Card, int Channel)
DESCRIPTION
Returns the Encoder Mode for given channel.
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 returns the value of the Encoder for a given channel as an integer.
0 = “On”, 1= “Off”
EXAMPLE CODE
Code Result/Returned
Data
int Encoder;
Encoder = Read_Encoder(5,3);
Returns the encoder mode (as an
integer) for card #5, channel 3.
Data Device Corporation
SB-3621X Manual
42
Содержание SB-3621 Series
Страница 3: ......