Apps Components Interfaces All Files Source Tree | source: apps.HighFrequencySampling.Sampling.nc |
A sampling interface. Note that where sampling data is collected and how that data is recovered is up to each sampling component
Commands |
Events |
Commands - Details |
Parameters: |
interval - The interval in microseconds between samples count - The number of samples to collect |
Returns: | If the result is SUCCESS, ready will be signaled
If the result is FAIL, no sampling will happen.
|
prepare
Returns: | SUCCESS if sampling started (done will be signaled
when it complates), FAIL if it didn't.
|
Events - Details |
Parameters: |
ok - SUCCESS if sampling was succesful, FAIL if it failed. Failure may be due to the sampling interval being too short or to a data logging problem. sampledBytes - Number of bytes of sampling data collected |
Returns: | Ignored |