Tag historian not recording

I set up a gateway script to write to a memory tag and then enabled history on it to the gateway's internal historian. When I try to bind the tag history to a component I get the t_stamp but the data is all 0s. I've confirmed in the tag the last value(s) not being 0.

I've never messed with tags before, so I'm sure I'm doing something wrong that's probably fairly simple.

Tag:

Dataset:
image

Binding:

Thanks for the help!