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
76
WORD WINAPI Read_Converter (int Card, int Channel)
DESCRIPTION
This routine will first set the inhibit of the channel to a logic "0" (freeze data), read the output of the
R/D converter of the channel of interest, and then release the inhibit (set it to logic "1" - track data).
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 will return the digital data from the channel of interest in the form of a WORD
(range = 0x0000 to 0xFFFF).
EXAMPLE CODE
Code
Result/Returned Data
WORD Converter;
Converter = Read_Converter(5,0);
Returns the output (as a WORD) of card #5,
channel 0.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com