In the DOPSoft User Manual - check chapter 15 for Sampling.
Also refer to chapter 4 for the status/control blocks. The control block is used to trigger the sampling event.
To retain the data you sample, you have to write it to the internal $M registers or to a connected USB stick (best method as it creates a .csv file).