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
57
int WINAPI Read_Counter (int Card, int Channel)
DESCRIPTION
Reads the Turns counter of a channel and returns the value.
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 turns count of a channel (range = 0x0000 to 0xFFFF).
EXAMPLE CODE
Code
Result/Returned Data
int Counter;
Counter = Read_Counter(0,2);
Returns the turns count of card #0, channel
2.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com