Solution
To ensure compatibility, you will need to install the version of the LabVIEW myRIO Toolkit that matches your version of LabVIEW. For example, if you have LabVIEW 2019, you will need to install the 2019 LabVIEW myRIO Toolkit to avoid incompatibility and further programming issues.
Additionally, the LabVIEW myRIO Toolkit is only compatible with 32-bit LabVIEW, so be sure to install LabVIEW 32-bit even if you are working on a 64-bit operating system.
The latest available LabVIEW myRIO Toolkit is 2021 SP1, and the latest LabVIEW compatible with this toolkit is LabVIEW 2021 SP1.