I was able to run a local gpk and it runs once returning a railroad milepost location. What I need to do is to put the gpk on a thread and return the milepost location once every second or two. I am not sure how to do this or where the loop (timer) should go. Could somebody point me in the right direction? The method is in an attachment below.
Thanks,
Tom