This is a modification on an example that programmatically creates a shared variable. The code can be broken into three parts - Create and Deploy, Find the URL, Read/Write to the variable...
--Michelle
National Instruments
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.