Nuclear magnetic resonance (NMR) measurements are performed with the pulse sequence and acquisition parameters set by the operator, which cannot be adjusted in real time according to sample characteristics. In one acquisition cycle, usually thousands of high-power pulses are transmitted and thousands of echo points are acquired. The power consumption cause the RF amplifier to overheat, and large amounts of acquired data may be invalid. Therefore, the optimization of excitation and acquisition processes is necessary to improve measurement efficiency. We explore a scheme for the real-time measurement of the samples by adaptively regulating the pulse sequence, which adapts the variable TE pulse sequence as the reconnaissance mode. The appropriate pulse sequence and reasonable parameters (NE, TE) can be selected according to the relaxation characteristics of the samples.This adaptive control strategy has great significance in guiding both dynamic and static measurements, and it is especially suitable for occasions where low magnetic field gradients and diffusion terms can be ignored. We also design a test circuit for adaptive control, which has the function of automatic parameter adjustment. By adjusting parameters such as the number of refocusing pulses, echo spacing, etc., the effective measurement of the samples can be achieved in practice.