![DDC SB-3624XIX-3L0 Series Скачать руководство пользователя страница 76](http://html.mh-extra.com/html/ddc/sb-3624xix-3l0-series/sb-3624xix-3l0-series_hardware-manual_517528076.webp)
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
61
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com