![DDC SB-3621 Series Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/ddc/sb-3621-series/sb-3621-series_hardware-and-software-manual_517526067.webp)
F U N C T I O N C A L L S
void WINAPI Program_Inhibit (int Card, int Channel, int
Control)
DESCRIPTION
Programs the Inhibit mode of a channel to “0” or “1”. A “0” inhibits the channel, and a “1”
uninhibits the channel. This function only inhibits one channel at a time. For multiple
channel inhibiting, use the Twospeed_Inhibit routine. Error checking is performed,
appropriate bits are masked, and the new value is written to the card.
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.
Control = an integer that is either a “0” (for inhibit), or a “1” (for uninhibit).
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code Result/Returned
Data
Program_Inhibit(0,1,0);
Inhibits Card #0, channel 1.
Data Device Corporation
SB-3621X Manual
54
Содержание SB-3621 Series
Страница 3: ......