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
58
int WINAPI Read_Direction (int Card, int Channel)
DESCRIPTION
Returns the direction for given channel.
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 direction of a channel as an integer.
1 = “Up”, 0 = “Down”
EXAMPLE CODE
Code
Result/Returned Data
int Direction;
Direction = Read_Direction(6,4);
Returns the direction (as an integer) for card
#6, channel 4.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com