AnotherDan,
I am glad that you were able to fix the issue! Since it was working in a test panel, it was most likely some syntax that was missing from your code that was changed when you rewrote your script. Thanks for the update, and I hope you are having a great holiday season!
Thanks,
Hannah
Applications Engineering
National Instruments
www.ni.com/support