LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

wire: class conflict in LABVIEW 7.0 Express

Hello all,

recently, we were upgrading from LABVIEW 6i to LABVIEW 7.0 .
Everything seems to be finde with one exception.

In a VI I use an intensity graph (three dimensional graph). The change
of its properties, in particular some values affecting the intensity
display, is done in a SubVI.
This SubVI gets a reference to the intensity graph as handle. The
corresponding terminal in the SubVI is a RefNum control.
In LABVIEW 6i this was working without any problems but in LABVIEW 7,
it does not work anymore.
I get a broken wire sign (red cross) and the error message
Wire: class conflict .
The online help did not bring much light into that situation. There is
only a somehow hidden hint that the options for the RefNum control
sh
ould be checked.
But what is really wrong there? Should I use anything else as terminal
in my SubVI or is there a particulkar option that needs to be set?

At the moment, the VI server class of the RefNum control is set to
Generic|Generic|Object|Control|Graph|IntensityGraph (copied from mind
at the moment).

Any hints would be greatly appreciated.

Thank you very much in advance and best regards

Gerd
0 Kudos
Message 1 of 2
(2,991 Views)
Hi Gerd,

I have had problems in the past with passing control references into subVIs. I had these problems because the strict control reference is often incompatible with a non-strict refnum control, or a strict refnum control of the wrong type. For example, if you have a multi-selection listbox, but you try to wire that control reference to a listbox reference associated with a scalar datatype (single-selection), you will get a wiring error.

The easiest solution for these problems is to right-click on the control reference and choose Create > Control. Then, copy this control into your subVI and use it as the subVI input. I think this will solve your class conflict problems.

If this doesn't work right, let me know and we can talk further...attachi
ng a sample LLB that demonstrates the problem would be helpful.

-D
Message 2 of 2
(2,991 Views)