F U N C T I O N C A L L S
int WINAPI Read_Resolution (int Card, int Channel)
DESCRIPTION
Reads the given channel, and returns the current resolution.
If bits are: 16 Resolution is 16
If bits are: 14 Resolution is 14
If bits are: 12 Resolution is 12
If bits are: 10 Resolution is 10
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 an integer that represents the current resolution of a channel as either
10,12,14, or 16 bits. If a 9 is returned than there was an error with the initialization of the
card.
EXAMPLE CODE
Code Result/Returned
Data
int Resolution;
Resolution = Read_Resolution(4,3);
Returns the current
resolution (as an integer)
for card #4, channel 3.
Data Device Corporation
SB-3621X Manual
44
Содержание SB-3621 Series
Страница 3: ......