Digilent WaveForms Manuel d'utilisateur Page 61

  • 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 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.
Vue de la page 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 84 85

Commentaires sur ces manuels

Pas de commentaire