F U N C T I O N C A L L S
void WINAPI Program_Amplitude (int Card, int Amplitude)
DESCRIPTION
This routine allows the user to change the amplitude of the oscillator. Since there is only
one oscillator on the card, the channel does not have to be selected.
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.
Amplitude = an integer between 0 and 255 that corresponds to a bit multiplier. The product
of the bit multiplier and the output scaling represents the true amplitude.
To change the Oscillator amplitude, enter the bit multiplier. The bit multiplier, which is an
integer, is determined by the following formula.
Amplitude = (bit multiplier) X (mV/bit)
Model
Number
Output Scaling
(mV/bit)
Examples
Bit
Multiplier
Resultant
Amplitude
Bit
Multiplier
Range
IX
8.8 mVrms/bit
1.0032 Vrms = (114) X (.0088)
114
1.0032 Vrms
0 - 255
IA
135.0 mVrms/bit
26.0550 Vrms = (193) X (.135)
193
26.0550 Vrms
0 - 255
IB
635.0 mVrms/bit
115.5700 Vrms = (182) X (.635)
182
115.5700 Vrms
0 - 210
*IC
17.6 mVrms/bit
4.0128 Vrms = (228) X (.0176)
228
4.0128 Vrms
0 - 255
* Note:
Consult factory for IC option (minimum orders apply)
Amplitude = (Bit Multiplier) X (mVrms/bit)
Amplitude = (114) * (8.80 mVrms/bit)
Amplitude = 1.0032 Vrms
RETURNED DATA
This routine does not return any data.
EXAMPLE CODE
Code Result/Returned
Data
Program_Amplitude(7,193);
Assuming card #7 is a model
type IA (135.0 mv/bit), the
oscillator amplitude of card
#7 will be set to 26.0550 V.
Data Device Corporation
SB-3621X Manual
49
Содержание SB-3621 Series
Страница 3: ......