Type Conflict Shows up When Converting Code to LabVIEW NXG

Updated Aug 21, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW NXG

Operating System

  • Windows

Other

Issue Details

When I convert my LabVIEW code to LabVIEW NXG, I get the error message saying
Type conflict. The terminal cannot accept a wire of the given type….

Solution

When a GVI is used via a static VI reference instead of a SubVI, the connection will lead to a type conflict, since source and sink do not match anymore. To resolve this conflict, follow these steps:
  1.  Edit the connector pane in the referenced VI if necessary
  1. Tick the box “strictly typed” in the static VI reference of the calling VI.
  2. Recompile the GVI by clicking the Run Arrow

Additional Information

The problem is caused by the fact that LabVIEW NXG does not support unsymmetrical connector pane patterns. When converting a VI to a GVI, the connector pane pattern in the GVI has to have a symmetrical connection pattern, in the case shown above it will result in a pattern with 4 in-/out-puts on each side.

WAS THIS ARTICLE HELPFUL?

Not Helpful