APIs, concepts, guides, and more

◆ AnalogInGet()

double AnalogInGet ( int32_t channel)
Description:
AnalogInGet returns the Voltage value of an analog input.
Parameters
channelAnalog input channel - 0, etc.
Returns
(double) Voltage in Volts.

Part of the User IO method group.

Sample Code:
printf("Analog Input 0 Voltage: %lf\n", axis->AnalogInGet(0));