LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Coercion dots

hi there, can someone suggest a solution to my coercion dots?
thank you very much.






Message Edited by krispiekream on 05-27-2008 03:44 PM
Best regards,
Krispiekream
0 Kudos
Message 1 of 5
(2,722 Views)
Change the datatypes of your globals to I32, or use one of these, depending on the datatype of the global:





Message Edited by smercurio_fc on 05-27-2008 03:58 PM
0 Kudos
Message 2 of 5
(2,712 Views)

Coercion dots are not necessarily a problem (although changing representation can cause you to lose data).

In this case, the coercion dots are there because your global variables are of different representation than the wire going into them, so you have two options:

  1. Change the representation of the globals to I32 (probably better, but can have repercussions in other VIs).
  2. Use the default value terminal on the primitives and a coercion to have the primitives output the representation you want.

This of course ignores the point that globals are generally problematic.


___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(2,708 Views)
Turn on Show Context Help and mouse over the wires to display the data types
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 5
(2,702 Views)
GREAT!!!
THANK YOU EVERYONE..
Best regards,
Krispiekream
0 Kudos
Message 5 of 5
(2,687 Views)