def setup_random_number_swait(swait, **kw):
    """setup swait record to generate random numbers"""
    swait.reset()
    swait.scanning_rate.put('Passive')
    swait.description.put('uniform random numbers')
    swait.calculation.put('RNDM')
    swait.scanning_rate.put('.1 second')
    swait.read_attrs = ['calculated_value']
    swait.hints = {'fields': swait.read_attrs}
