L I B R A R Y F U N C T I O N S
Data Device Corporation
SB-3624XIX-3L0 Manual
www.ddc-web.com
Rev D -10/15
74
void WINAPI Twospeed_Inhibit (int Card, int Channels)
DESCRIPTION
This procedure allows the user to inhibit any combination of channels, simultaneously. The channels
to be inhibited can be selected by OR’ing constants, that identify each channel, together (Inhibit0,
Inhibit1, Inhibit2,… Inhibit5).
Note:
Any channels not included in the inhibit string will be uninhibited.
Ch0 (0x04) = SB3624x_INHIBIT0
Ch1 (0x08) = SB3624x_INHIBIT1
Ch2 (0x10) = SB3624x_INHIBIT2
Ch3 (0x20) = SB3624x_INHIBIT3
Ch4 (0x40) = SB3624x_INHIBIT4
Ch5 (0x80) = SB3624x_INHIBIT5
All channels = SB3624x_INHIBITall
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.
Channels = an integer which represents the channels that will be inhibited.
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code
Result/Returned Data
Twospeed_Inhibit(0,0x0C);
Inhibits Card #0, channels 0 and 1, uninhibits
channels 2 through 5.
Twospeed_Inhibit(0,
SB3624x_INHIBIT0|SB3624x_INHIBIT1);
Inhibits Card #0, channels 0 and 1, uninhibits
channels 2 through 5.
Twospeed_Inhibit(0,0x0);
Uninhibits Card #0, channels 0 through 5.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com