mpiControlIoGet

Declaration

int32_t mpiControlIoGet(MPIControl       control,
                     MPIControlIo     *io);
Required Header: stdmpi.h

Description

mpiControlIoGet reads the states of a controller's digital inputs and writes them into a structure pointed to by io. Some controller models have local digital I/O. Please see the controller hardware documentation for details.

control a handle to a Control object
*io a pointer to a structure containing the digital input and output values.
Return Values
MPIMessageOK
MPIMessageARG_INVALID

See Also

mpiControlIoSet | MPIControlInput | MPIControlOutput