User`s guide

Examples
The following commands set the sample count to 10,000 and the pretrigger
sample count to 5000 (so that 5000 samples will be taken before the
trigger, and 5000 after).
SAMP:COUN 10000 SAMP:COUN:PRET 5000
The following query returns the current sample count.
SAMP:COUN:PRET?
Typical Response: +5000