Sample Rate

C Definition

int dms_SampleRate

Pascal Definition

function dms_SampleRate:integer;

Description

Sample Rate returns the current sampling frequency of the controller. This is typically 1000 Hz with a discrete time period of 1000 microseconds. Every on-board task runs every sample period. The sample rate can be changed with Set Sample Rate.

Escapes

Querying the Sample Rate does not generate any escapes.

Examples

Related Topics

Set Sample Rate
Sample Counter
Parameter Out Of Range Escape Code