Datalogic .NET SDK
Interval (Property)
Syntax
public uint Interval{get; set;}
Description
The interval in milliseconds between samples of accelerometer data. The DataReady event is used to deliver the sampled data. The data sampling is enabled and disabled with the Enable property of the AccStream object.
Parameters Table
|
Type |
Parameter |
Description |
[in] |
- |
- |
- |
|
|
|
|
[return] |
- |
- |
The interval in milliseconds between samples of accelerometer data. |
[on error] |
- |
|
The set will throw an ApplicationException error. |
Example
// Sampling interval private void interval_ValueChanged(object sender, EventArgs e) { try { accStream.Interval = (uint)interval.Value; } catch (ApplicationException ex) { this.statusBar1.Text = "Error: " + ex.Message; } this.statusBar1.Text = "Success: Interval Set"; } |
See Also
Copyright © Datalogic ADC. All Right Reserved