Has anyone gotten SimConnect to repeatedly get data?

Currently very bare bones just connects to the sim and queries alt/lat/lon of the user and reports it back. It’s working with the single request on a 1-second period, done with C#.