mpiControlTimingConfigGet

Declaration

MPI_RESULT
   mpiControlTimingConfigGet(MPIControl               control,
                             MPIControlTimingConfig   *config);

 

Required Header: stdmpi.h

Change History: Added in 04.00.

Description

mpiControlTimingConfigGet reads the timing configurations from the controller and writes them into the address pointed to by config.

*control A handle to a control object
*config A pointer to a controller timing configuration structure

Return Values
MPIMessageOK
MPIControlMessageObjectInvalid

Sample Code

MPIControlTimingConfig controlTimingConfig;

returnValue = mpiControlTimingConfigGet(control, &controlTimingConfig);
if (returnValue == MPIMessageOK) { mpiPlatformConsole("Sample rate: %lf\n", controlTimingConfig.sampleRate); }

See Also

mpiControlTimingConfigSet | mpiControlConfigGet | mpiControlConfigSet