Owner manual

WaveForms™ SDK Reference Manual
Page 55 of 85
FDwfAnalogIOChannelNodeStatusInfo(
HDWF hdwf, int idxChannel, int idxNode, double *pmin, double *pmax, int
*pnSteps)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index .
- idxNode Node index.
- pmin Minimum reading value.
- pmax Maximum reading value.
- pnSteps Number of steps between minimum and maximum values.
The function above returns node the range of reading values available for the specified node on the specified
channel.
FDwfAnalogIOChannelNodeStatus(
HDWF hdwf, int idxChannel, int idxNode, double *pvalue)
Parameters:
- hdwf Interface handle.
- idxChannel Channel index .
- idxNode Node index.
- pvalue Pointer to variable to return the value reading.
The function above returns the value reading of the node.
8 Digital I/O
See the DigitalIO.py example.
FDwfDigitalIOReset(HDWF hdwf)
Parameters:
- hdwf Open interface handle on a device.
The function above resets and configures (by default, having auto configure enabled) all DigitalIO instrument
parameters to default values. It sets the output enables to zero (tri-state), output value to zero, and configures the
DigitalIO instrument.
FDwfDigitalIOConfigure(HDWF hdwf)
Parameters:
- hdwf Open interface handle on a device.
The function above is used to configure the DigitalIO instrument. This doesn’t have to be used if AutoConfiguration
is enabled.