I have now fixed the issue. I installed LabVIEW 2025 Q1 64-bit (I was previously using LabVIEW 2024 Q3 32-bit). I deleted the project and started again with a new one.
Compiled and ran fine first time 🙂
CLA - Kudos is how we show our appreciation for comments that helped us!