Digilent WaveForms Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 85
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
WaveForms™ SDK Reference Manual
Page 24 of 85
FDwfAnalogInChannelOffsetGet(HDWF hdwf, int idxChannel, double *pvoltOffset)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- pvoltsRange Variable to receive the offset voltage obtained.
The function above returns for each AnalogIn channel the real offset level.
FDwfAnalogInChannelAttenuationSet(
HDWF hdwf, int idxChannel, double xAttenuation)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- voltsRange Channel offset voltage to set.
The function above is used to configure the attenuation for each channel. When channel index is specified as -1,
each enabled AnalogIn channel attenuation will be configured to the same level. The attenuation does not change
the attenuation on the device, just informs the library about the externally applied attenuation.
FDwfAnalogInChannelAttenuationGet(
HDWF hdwf, int idxChannel, double *pxAttenuation)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index.
- pxAttenuation Variable to receive the attenuation value.
The function above returns for each AnalogIn channel the configured attenuation.
5.4 Trigger
The trigger is used for Single and Record acquisitions. For ScanScreen and ScanShift, the trigger is ignored.
To achieve the classical trigger types:
- None: Set FDwfAnalogInTriggerSourceSet to trigsrcNone.
- Auto: Set FDwfAnalogInTriggerSourceSet to something other than trigsrcNone, such as
trigsrcDetectorAnalogIn and FDwfAnalogInTriggerAutoTimeoutSet to other than zero.
- Normal: Set FDwfAnalogInTriggerSourceSet to something other than trigsrcNone, such as
trigsrcDetectorAnalogIn or FDwfAnalogInTriggerAutoTimeoutSet to zero.
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 84 85

Commentaires sur ces manuels

Pas de commentaire