◆ AnalogInGet()

virtual double AnalogInGet ( int32_t  channel)
pure virtual

Get the value of an analog input.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the User IO method group.

Description:
AnalogInGet returns the Voltage value of an analog input.
Parameters
channelAnalog input channel - 0, etc.
Returns
(double) Voltage in Volts.
Sample Code:
printf("Analog Input 0 Voltage: %lf\n", axis->AnalogInGet(0));