Communicate between monitor and driver

You can declare these items as static variables in the sequence item and generate randomly. Then access these static variables from monitor using the scope resolution operator.