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
60
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com