Digilent WaveForms Bedienungsanleitung Seite 61

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 85
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 60
WaveForms™ SDK Reference Manual
Page 61 of 85
9.2 Configuration
FDwfDigitalInInternalClockInfo(HDWF hdwf, double *phzFreq)
Parameters:
- hdwf Interface handle.
- phzFreq Pointer to return the internal clock frequency.
The function above is used to retrieve the internal clock frequency.
FDwfDigitalInClockSourceInfo(HDWF hdwf, int *pfsDwfDigitalInClockSource)
Parameters:
- hdwf Open interface handle on a device.
- pfsDwfDigitalInClockSource Pointer to variable to return the available clock source options.
The function above returns the supported clock sources for Digital In 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
DwfDigitalInClockSource constants in dwf.h:
DwfDigitalInClockSourceInternal: Internal clock.
DwfDigitalInClockSourceExternal: External clock source.
FDwfDigitalInClockSourceSet(HDWF hdwf, DwfDigitalInClockSource v)
Parameters:
- hdwf Open interface handle on a device.
- v Clock source.
The function above is used to set the clock source of instrument.
FDwfDigitalInClockSourceGet(HDWF hdwf, DwfDigitalInClockSource *pv)
Parameters:
- hdwf Open interface handle on a device.
- pv Pointer to variable to return the configured value.
The function above is used to get the clock source of instrument.
FDwfDigitalInDividerInfo(HDWF hdwf, unsigned int *pdivMax)
Parameters:
- hdwf Interface handle.
- pdivMax Pointer to variable to return the available maximum divider value.
The function above returns the maximum supported clock divider value. This specifies the sample rate.
Seitenansicht 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 84 85

Kommentare zu diesen Handbüchern

Keine Kommentare