User`s guide

FUNCTIONS
SDK SECTION 11
Page 171
IsAmplifierAvailable
unsigned int WINAPI IsAmplifierAvailable(int iamp)
Description
This function checks if the hardware and current settings permit the use of the specified
amplifier.
Parameters
int iamp: amplifier to check.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_INVALID_AMPLIFIER
Amplifier available
System not initialized
Not a valid amplifier
See also
SetHSSpeed
IsPreAmpGainAvailable
unsigned int WINAPI IsPreAmpGainAvailable(int channel, int amplifier, int index, int pa, int* status)
Description
This function checks that the AD channel exists, and that the amplifier, speed and gain
are available for the AD channel.
Parameters
int channel: AD channel index.
int amplifier: Type of output amplifier.
int index: Channel speed index.
int pa: PreAmp gain index.
int* status: 0: PreAmpGain not available.
1: PreAmpGain Available.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
DRV_P2INVALID
DRV_P3INVALID
DRV_P4INVALID
PreAmpGain status returned.
System not initialized.
Acquisition in progress.
Invalid channel.
Invalid amplifier.
Invalid speed index.
Invalid gain.
See also
GetNumberPreAmpGains, GetPreAmpGain, SetPreAmpGain
NOTE: Available only on iXon.