def swait_setup_random_number(swait, **kw):
    """setup swait record to generate random numbers"""
    swait.reset()
    swait.scan.put('Passive')
    swait.calc.put('RNDM')
    swait.scan.put('.1 second')
    swait.desc.put('uniform random numbers')
    swait.hints = {'fields': ['val']}
    swait.read_attrs = ['val']
