07-22-2021 09:07 AM
There is a broken wire in my program. The two types it is connecting appear to be the same so I'm at a loss. Any pointers you can give would be appreciated. Thanks.
07-22-2021 09:15 AM - edited 07-22-2021 09:16 AM
I can't open your 2020 code but you can hover your mouse over the broken wire and it will tell you why the types don't match. Even more info is available by clicking the broken run-arrow of your VI.
07-22-2021 12:31 PM
Thanks for your reply. When I hover over the broken wire it says 'Class conflict'. This wire connects two items that I've connected successfully in the past and even run the software. The problem started when my Labview free version expired and I bought and activated it. Suddenly the Modbus utilities were gone (had to reinstall those) and now this problem. There must be a bigger picture that I'm missing. Any thoughts?
07-22-2021 12:44 PM - edited 07-22-2021 12:47 PM
It looks fine to me...
But I have seen something like this happen before with the Modbus library. Judging by the error I believe it has something to do with OOP. I think I just had to delete the offending VI and reconstruct it.
Also you might want to put a Shift Register on your Object wire like this:
07-22-2021 12:52 PM - edited 07-22-2021 12:53 PM
Since most of us don't have any of your subVIs (from the modbus utility), we cannot really help.
(EDIT: Ah, some do. See post above :D)
For reference, here's how I see your code:
Since things were working before, there might be something wrong how you installed the utilities (wrong version? wrong bitness? Wrong installation order? missing dependencies from other drivers, etc.)
It is also not clear what has expired. The free version (i.e. LabVIEW Community edition ) does not expire, but is limited to non-commercial use. Were you talking about a trial version?