.

meiControlSampleRate

Declaration

 
long meiControlSampleRate(MPIControl  control,
                          double      *sampleRate)
 

Required Header: stdmei.h

Description

meiControlSampleRate writes the current sample rate (Hz) of the controller’s processor to the address pointed to by sampleRate. This is the same value returned in MPIControlConfig.sampleRate after mpiControlConfigGet(...) has been performed, but is also provided as this separate method to avoid the extra processing overhead of mpiControlConfigGet.

 
control a handle to the Control object
*sampleRate pointer to a double where the current sample rate will be stored.
   
 
Return Values
MPIMessageOK  
MEIControlMessageFIRMWARE_VERSION_NONE  
MEIControlMessageFIRMWARE_VERSION  

See Also

mpiControlConfigGet | MPIControlConfig | MEIControlMessage

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering