F U N C T I O N C A L L S
int WINAPI Read_Inhibit (int Card, int Channel)
DESCRIPTION
Reads the channel specified, and returns either a “0” (inhibited) or a “1” (uninhibited). If a 9
is returned, the card was not initialized properly.
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 status of the inhibit bit for a given channel. If the inhibit status is 9
then the card was not initialized.
EXAMPLE CODE
Code Result/Returned
Data
int Inhibit;
Inhibit = Read_Inhibit(0,5);
Returns the status of the
inhibit bit (as an integer) for
card #0, channel 5.
Data Device Corporation
SB-3621X Manual
43
Содержание SB-3621 Series
Страница 3: ......