F U N C T I O N C A L L S
int WINAPI Read_Direction (int Card, int Channel)
DESCRIPTION
Returns the direction 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 direction of a channel as an integer.
1 = “Up”, 0 = “Down”
EXAMPLE CODE
Code Result/Returned
Data
int Direction;
Direction = Read_Direction(6,4);
Returns the direction (as an
integer) for card #6, channel
4.
Data Device Corporation
SB-3621X Manual
41
Содержание SB-3621 Series
Страница 3: ......