status = pl1000OpenUnit(&g_handle);
status = pl1000SetTrigger(g_handle, FALSE, 0, 0, 0, 0, 0, 0, 0);
status = pl1000SetInterval(g_handle, &usForBlock, nSamples, channels, nChannels);
status = pl1000Run(g_handle, nSamples, BM_STREAM);
then
status : 2B: PICO_INVALID_SAMPLE_INTERVAL.
The sample interval selected for streaming is out of range.
( sampling rate = usForBlock / nSamples = 20160 / 224 = 90μs > 10μs )
Q1.Why is it "INVALID" ?
Q2.What is the correct combination rule between "usForBlock" and "nSamples" ?
The fastest possible sampling interval is 1 microsecond, when the number of samples is 8192 divided by the number of channels active and the capture mode is BM_SINGLE.
Under all other conditions, the fastest possible sampling interval is 10 microseconds per channel.
The fastest possible data collection in the streaming settings is 100 kS/s (10 μs per sample), shared across all channels.