Digilent WaveForms Manual do Utilizador Página 53

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 85
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 52
WaveForms™ SDK Reference Manual
Page 53 of 85
FDwfAnalogIOChannelInfo(HDWF hdwf, int idxChannel, int *pnNodes)
Parameters:
- hdwf Open interface handle on a device.
- idxChannel Channel index.
- pnNodes Pointer to variable to return the number of node .
The function above returns the number of nodes associated with the specified channel.
FDwfAnalogIOChannelNodeName(
HDWF hdwf, int idxChannel, char szNodeName[32], char szUnits[16])
Parameters:
- hdwf Open interface handle on a device.
- idxChannel Channel index.
- szNodeName Pointer to character array to return the node name.
- szUnits Pointer to character array to return the value units.
The function above returns the node name (“Voltage”, “Current”…) and units (“V”, “A”) for an Analog I/O node.
FDwfAnalogIOChannelNodeInfo(
HDWF hdwf, int idxChannel, int idxNode, ANALOGIO *panalogio)
Parameters:
- hdwf Open interface handle on a device.
- idxChannel Channel index.
- idxNode Node index.
- panalogio Pointer to variable to return the node type.
The function above returns the supported channel nodes. 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 ANALOGIO constants in dwf.h.
The acquisition mode selects one of the following modes, ANALOGIO:
ANALOGIO Modes
ANALOGIO Mode Functions
analogioEnable
Enable I/O node; used to enable a power supply, reference voltage, etc.
analogioVoltage
Voltage I/O node; used to input/output voltage levels.
analogioCurrent
Current I/O node; used to input/output current levels.
analogioTemperature
Temperature I/O node; used to retrieve read values from a temperature sensor.
Vista de página 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 84 85

Comentários a estes Manuais

Sem comentários