VMX Encoder¶
Handles the Encoder ports on the VMX. There are five encoder ports on the VMX.
FlexDIO 0,1
FlexDIO 2,3
FlexDIO 4,5
FlexDIO 6,7
FlexDIO 8,9 (LabVIEW currently does not use this one)
vi |
Attributes |
---|---|
Encoder |
Encoder initialization |
Read |
Encoder reading |
Reset |
Encoder reset |
Encoder¶
Is a class that contains the code for reading the encoder ports on the VMX. Has only a HG_LIB
output.
Read¶
A vi that allows for reading the encoder count from the port specified by the Create ID
vi.
Name |
I/O |
Attribute |
---|---|---|
Encoder in |
Input |
The input cluster from Create ID |
error in (no error) |
Input |
The error input cluster |
Encoder out |
Output |
The output cluster to go to Delete ID |
ENC |
Output |
The raw encoder count |
ENC/dt |
Output |
The delta change in encoder count |
error out |
Output |
The error output cluster |
Reset¶
A vi that allows for resetting the encoder count from the port specified by the Create ID
vi.
Name |
I/O |
Attribute |
---|---|---|
Encoder in |
Input |
The input cluster from Create ID |
error in (no error) |
Input |
The error input cluster |
Encoder out |
Output |
The output cluster to go to Delete ID |
error out |
Output |
The error output cluster |