Are you going to write based on when the user sets something or presses a button? If so, then I would use a separate loop with an Event Structure to do the VISA Write.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5