Unfortunately, I don’t know if this component is available in OptiSystem v.7, but “Analog to Digital” is the right choice for this, which both samples and does the quantization according to the values you determine. If it is not available, I can only think of downsampling it using downsampler.