Analog Input¶
Handles the analog inputs of the VMX.
vi |
Attributes |
---|---|
Analog In |
Analog signal initialization |
Read |
Analog signal reading |
Read¶
A vi that allows for reading the analog value of the input pin specified by the Create ID
vi.
Name |
I/O |
Attribute |
---|---|---|
Analog In in |
Input |
The input cluster from Create ID |
error in (no error) |
Input |
The error input cluster |
Analog In out |
Output |
The output cluster to go to Delete ID |
Data |
Output |
The raw value from the ADC |
IR |
Output |
The converted value displaying distance in mm |
error out |
Output |
The error output cluster |
Analog Input Example¶
This example will read an analog signal from a Sharp IR Sensor connected to analog port 0 (Digital port 22) on the VMX.