09-11-2020 07:59 AM - edited 09-11-2020 08:02 AM
Well, you have a VI in a loop with the text SYNC DEVICE in there. This is the VI where you should add a timeout constant of 1000 to the first VI that gets called in there.
Someone obviously improved the Initialize Device.vi to get rid of the hard 5000 ms delay, which in itself is a very good idea. However this does not seem to work nicely with the Arduino Mega, apparently.
09-11-2020 08:10 AM
Change the 100 to 1000, is that correct?
09-11-2020 10:25 AM - edited 09-11-2020 10:29 AM
Right click on Open Serial VI and click on Open Front Panel, then go to its block diagram
Right click on Initialize VI and click on Open Front Panel, then go to its block diagram
Let me know if that helps.
09-14-2020 02:11 AM
Thank you for efforts.
I tried it and it makes no difference her.
09-14-2020 02:47 AM
I’m sorry to hear that. Could you post a screenshot of what you changed? Just the VI where you added the constant should be enough.
09-22-2020 08:17 AM
Hi I have just revisited this and it now works! I am not sure what I was doing wrong before.
As a test I removed the time delay and it failed as it did, put it back in and it works again.
Thank you everybody who helped me.
09-22-2020 04:38 PM
Hmm not sure why it did not work initially but glad to see it works now!
12-03-2020 08:25 AM
Thank you.
As a first time user I managed to follow your instructions and get LINX to work with my ChipKIT UNO32.
And it may also work on the Arduino Uno Simulator as that had the same error.
Now looking forward to learning LABView.
12-03-2020 03:33 PM
@ChrisRoper wrote:Now looking forward to learning LABView.
First lesson: Learn the correct letter-case. 🙂
12-03-2020 04:48 PM
@altenbach wrote:
First lesson: Learn the correct letter-case. 🙂
Point taken but when your primary tools are MPLab and PICKit that capitalisation tends to become a habit 😉🙂