F U N C T I O N C A L L S
int WINAPI Read_Register(int Card, int Register)
DESCRIPTION
This is a generic function to read any register on the Card. It can be used to read angle
data, or to check the Control Register, etc. The possible offsets are listed in the synchro.h
file.
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.
Register = an integer.
RETURNED DATA
This routine returns an integer that stores the value of the register that was read from the
card.
EXAMPLE CODE
Code Result/Returned
Data
int Register;
Register =
Read_Register(0,SB3622x_FBRM_CH1);
Reads the Fine Binary Rate
Multiplier register
(SB3622x_FBRM_CH1) for card
#0.
Note:
A list of available registers can be found in the Synchro.h file.
Data Device Corporation
SB-3622X Manual
53
Summary of Contents for DRC-11525
Page 3: ......