
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
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:
Enable I/O node; used to enable a power supply, reference voltage, etc.
Voltage I/O node; used to input/output voltage levels.
Current I/O node; used to input/output current levels.
Temperature I/O node; used to retrieve read values from a temperature sensor.
Kommentare zu diesen Handbüchern