Data Device Corporation
SB-3624XIX-3L0 Manual
www.ddc-web.com
Rev D -10/15
64
long WINAPI Read_Angle (int Card, int Channel)
DESCRIPTION
Using the given channel, the appropriate register is selected, and the thirty-two bits are read from
the register. No conversion is done in this routine.
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 angle of a given channel as a 32 bit long integer ( range = 0x0000 to
0xFFFF).
EXAMPLE CODE
Code
Result/Returned Data
Read_Angle(3,5);
Returns the angle (as a 32 bit long integer) for card #3, channel
5.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com