.

meiControlSecondsToSamples

Declaration

 
long meiControlSecondsToSamples(MPIControl control, 
                                float      seconds,
                                long       *samples)
 

Required Header: stdmei.h

Description

meiControlSecondsToSamples writes to samples the number of servo cycles that will take place in seconds number of seconds (at the current sample rate). Use this function to convert seconds to samples.

 
Return Values
MPIMessageOK  

See Also

meiControlSamplestoSeconds | meiControlSampleCounter | meiControlSampleWait

 

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