set_samplerate deprecated
Sets the sample rate of the instrumentDeprecated
This method is deprecated and will be removed soon. Please use the sample_rate parameter of start_logging or start_streaming instead.
Parameters
number required
Target samples per second (For Moku:Pro, the maximum sampling rate is limited to 5MSa/s for 2 channel logging and 1.25MSa/s for 3 and 4 channel logging)
allowed values:Moku:Lab 10 to 2.5e5 Moku:Go 10 to 1e6 Moku:Pro 10 to 10e6 Moku:Delta 10 to 10e6
boolean
Disable all implicit conversions and coercions.
default: true# Examples
# Sample response
{
"sample_rate": 1000.0
}
1
2
3
2
3