code: def poll_values():
      
      subscription = processor.create_parameter_subscription([
          '/YSS/SIMULATOR/BatteryVoltage1'
      ])
  
      sleep(5)
      print('Latest value:')
      print(subscription.get_value('/YSS/SIMULATOR/BatteryVoltage1'))
  
      sleep(5)
      print('Latest value:')
      print(subscription.get_value('/YSS/SIMULATOR/BatteryVoltage1'))
docs: Shows how to poll values from the subscription.