F U N C T I O N C A L L S
Setup for Rotation
Setup Example
To enable rotation of the card you will need to call the following functions:
•
Get_Card_Type (int Card)
•
Initialize (int Card)
•
Program_Amplitude (int Card, int Amplitude)
•
Program_Frequency (int Card, int Frequency)
•
Program_Multiplier (int Card, int Channel, float Multiplier, int Direction,
int SpeedMode) (Note 1)
•
Start_Rotation (int Card, int Channel, int Start) (Note 1)
•
Close (int Card)
Sample pseudo code:
Int main ()
{
char* CardType = Get_Card_Type (Card) ;
***
Initialize (Card) ;
***
Program_Amplitude (Card, Amplitude) ;
***
Program_Frequency (Card, Frequency) ;
***
float WrittenRate = Program_Multiplier (Card, Channel, Multiplier, Direction,
SpeedMode) ;
***
Start_Rotation (Card, Channel, Start) ;
***
Close (Card) ;
}
Note 1: For Program_Multiplier (…) and Start_Rotation (…): The value for channel is zero based. This means If
you want to use channel 1, you would specify channel 0.
Data Device Corporation
SB-3622X Manual
58