annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Broken wire - beginner

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.

0 Compliments
Message 1 sur 5
2 146 Visites

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.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Compliments
Message 2 sur 5
2 141 Visites

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?

0 Compliments
Message 3 sur 5
2 095 Visites

It looks fine to me...

 

brokCapture.PNG

 

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:

fvdCapture.PNG

========================
=== Engineer Ambiguously ===
========================
0 Compliments
Message 4 sur 5
2 090 Visites

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:

 

altenbach_0-1626975948647.png

 

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?

 

0 Compliments
Message 5 sur 5
2 086 Visites