48
5.2.7
SHZ Command
Short description:
The command SHZ set sample rate in Hz
It is possible with this command to realize any sample rates between 100Hz and 2000Hz.
If the value is not accepted, the sensor responds with the string "
not valid
".
Due to the nature of the internal time base, not every sample rate can be realized exactly. In order to give the user the possibility to know the exact
frequency, to which the sample rate has been "rounded", the frequency can be queried with "?" and will be returned as ASCII floating point number with 6
decimals.
Command syntax:
$SHZ <I>
Param: <I> is sample rate (100Hz…2000Hz)
Command
Description
NET
$SHZ 1000
Response: $SHZ 1000[CR]ready[CR/LF].
Write Sample Rate (1000 Hz)
Client.FreeSampleRate = 1000;
$SHZ ?
Response: $SHZ ? 1000ready[CR/LF].
Read Sample Rate
float
SampleRate = Client.FreeSampleRate;
Содержание CHRocodile CLS0.2
Страница 7: ...7 8 3 Distance Measurement 71 8 4 Thickness measurement 72 Technical support 74 ...
Страница 63: ...63 Mechanical Plans 6 1 Optical Head Mechanical plans b CLS1 a CLS02 c CLS4 36 4 18 5 ...
Страница 64: ...64 Fig 6 1 Optical Head Mechanical plans a CLS0 2 b CLS1 c CLS4 d CLS2 3 d CLS2 3 ...