mpiMotorGeneralOutGet function reads the current output state of one or more general purpose bits.
Each SynqNet drive has a different way of using general purposes I/O bits. To see how each FPGA is mapped to the general purpose I/O bits on a specific SynqNet drive, select the drive from the menu below. If the SynqNet drive you are using is not listed, refer to our SynqNet Drives page for more information.
NOTE: mpiMotorGeneralOutGet replaced mpiMotorIoGet in the MPI library.
motor
a handle to the Motor object
startBit
the first general purpose bit that will be returned by the function.
bitCount
the number of general purpose bits that will be returned by the function.
*state
the address of the current state of the general purpose bits will be returned.