mpiControlTimingConfigSet

Declaration

MPI_RESULT
   mpiControlTimingConfigSet(MPIControl               control,
                             MPIControlTimingConfig   *config);

 

Required Header: stdmpi.h

Change History: Added in 04.00.

Description

mpiControlTimingConfigSet writes the timing configurations to the controller, from 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) { controlTimingConfig.sampleRate = 4000.0; returnValue = mpiControlTimingConfigSet(control, &controlTimingConfig); }

See Also

mpiControlTimingConfigGet | mpiControlConfigGet | mpiControlConfigSet