# OpenStudio Measure: ViewData

**URL:** <https://discourse.ladybug.tools/t/openstudio-measure-viewdata/21578>\
**Category:** scripting\
**Tags:** energy\
**Created:** [April 27, 2023, 8:34am UTC](https://discourse.ladybug.tools/t/openstudio-measure-viewdata/21578 "2023-04-27T08:34:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiaspedersentsp](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/tobiaspedersentsp/32/6523_2.png) [@tobiaspedersentsp](https://discourse.ladybug.tools/u/tobiaspedersentsp)\
**Post date:** [April 27, 2023, 8:34am UTC](https://discourse.ladybug.tools/t/openstudio-measure-viewdata/21578/1 "2023-04-27T08:34:10Z")

</div>

I am trying to run the OpenStudio Measure [ViewData](https://github.com/ladybug-tools/lbt-measures/tree/master/lib/view_data) by using the optional input “viz\_variables” in the function [to\_openstudio\_osw](https://www.ladybug.tools/honeybee-energy/docs/honeybee_energy.run.html#honeybee_energy.run.to_openstudio_osw).  
However after running the .osw and .idf I don’t see the .html file. Any ideas how to make the measure work?

Thank you.

---

<div class="post-metadata">

**Author:** ![chris](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/chris/32/10179_2.png) [@chris](https://discourse.ladybug.tools/u/chris)\
**Post date:** [May 1, 2023, 7:07am UTC](https://discourse.ladybug.tools/t/openstudio-measure-viewdata/21578/2 "2023-05-01T07:07:57Z")

</div>

Hey @tobiaspedersentsp ,

The View Data measure is a reporting measure so you need to make sure that you’re running the OSW in a way that runs the entire energy simulation (without the -m option). If you do this, the simulation should run to completion and you should get a html report provided that you specified correct inputs for the measure.
