Digilent WaveForms Manuel d'utilisateur Page 52

  • 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 51
WaveForms™ SDK Reference Manual
Page 52 of 85
FDwfAnalogIOEnableSet(HDWF hdwf, BOOL fMasterEnable)
Parameters:
- hdwf – Open interface handle on a device.
- fMasterEnable – Set TRUE to enable the master switch; FALSE to disable the master switch.
The function above is used to set the master enable switch.
FDwfAnalogIOEnableGet(HDWF hdwf, BOOL *pfMasterEnable)
Parameters:
- hdwf – Open interface handle on a device.
- pfMasterEnable – Pointer to variable to return the enabled configuration.
The function above returns the current state of the master enable switch. This is not obtained from the device.
FDwfAnalogIOEnableStatus(HDWF hdwf, BOOL *pfMasterEnable)
Parameters:
- hdwf – Open interface handle on a device.
- pfMasterEnabled – Pointer to variable to return the active status.
The function above returns the master enable status (if the device supports it). This can be a switch on the board
or an overcurrent protection circuit state.
FDwfAnalogIOChannelCount(HDWF hdwf, int *pnChannel)
Parameters:
- hdwf – Open interface handle on a device.
- pnChannel – Pointer to variable to return the number of channels.
The function above returns the number of AnalogIO channels available on the device.
FDwfAnalogIOChannelName(
HDWF hdwf, int idxChannel, char szName[32], char szLabel[16])
Parameters:
- hdwf – Open interface handle on a device.
- idxChannel – Channel index.
- szName – Pointer to character array to return the user name.
- szLabel – Pointer to character array to return the label.
The function above returns the name (long text) and label (short text, printed on the device) for a channel.
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 84 85

Commentaires sur ces manuels

Pas de commentaire