Digilent WaveForms Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 85
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
WaveForms™ SDK Reference Manual
Page 30 of 85
FDwfAnalogInTriggerConditionInfo(HDWF hdwf, int *pfstrigcond)
Parameters:
- hdwf Interface handle.
- pfstrigcond Variable to receive the supported trigger conditions.
The function above returns the supported trigger type options for the instrument. They are returned (by
reference) as a bit field. This bit field can be parsed using the IsBitSet Macro. Individual bits are defined using the
TRIGCOND constants in dwf.h. These trigger condition options are:
trigcondRisingPositive (This is the default setting):
o For edge and transition trigger on rising edge.
o For pulse trigger on positive pulse.
trigcondFallingNegative:
o For edge and transition trigger on falling edge.
o For pulse trigger on negative pulse.
FDwfAnalogInTriggerConditionSet(HDWF hdwf, TRIGCOND trigcond)
Parameters:
- hdwf Interface handle.
- trigcond Trigger condition to set.
The function above is used to set the trigger condition for the instrument.
FDwfAnalogInTriggerConditionGet(HDWF hdwf, TRIGCOND *ptrigcond)
Parameters:
- hdwf Interface handle.
- ptrigcond Variable to receive the current trigger condition.
The function above is used to set the trigger condition for the instrument.
FDwfAnalogInTriggerLevelInfo(
HDWF hdwf, double *pvoltsMin, double *pvoltsMax, int *pnSteps)
Parameters:
- hdwf Interface handle.
- pvoltsMin Variable to receive the minimum voltage level.
- pvoltsMax Variable to receive the maximum voltage level.
- pnSteps Variable to receive the number of voltage level steps.
The function above is used to retrieve the range of valid trigger voltage levels for the AnalogIn instrument in Volts.
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 84 85

Komentarze do niniejszej Instrukcji

Brak uwag