I am using the Hobbyist Toolkit to control my Arduino Nano. I have been able to successfully use the analogue read function within my VI, though am struggling to use the digital write function (Error 5005). I have gotten it to work in an isolated VI as shown in one of my attachments. However, when integrating this into my main VI as shown in the second attachment, i receive that error.
Any thoughts on what i may be doing wrong? Any advice is appreciated