LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Int To Enum Question

Hi,

 

We're updating a legacy Labview app with 9.0. We have a VI that has a loop generated with the State Diagram Toolkit. We do not have the State Diagram Toolkit installed at this time.

Inside this state-machine loop the "Int To Enum" is used frequently.Everything works in 9.0, but when we save the whole project for Labview 8.6 and then open it again all wires to the "Int To Enum" VIs are broken and the data type of their connections are void instead of int and enum.

We can't really explain why it's working in one version and not in the other. Any help would be greatly appreciated!

 

Thanks,

0 Kudos
Message 1 of 2
(2,638 Views)

Hi xavi26,

 

The "Int to Enum" function is only available with the State Diagram Toolkit and can be located in the following path: C:\Program Files\National Instruments\LabVIEW xxxx\vi.lib\addons\statediagram.  When VIs are saved to a previous version (i.e 8.6), VIs in the vi.lib file are not saved in the previous version because they will be available when the main VI is loaded with LV 8.6.  However, if the State Diagram Toolkit is not installed, then the file will not be there.  It would be best to install the State Diagram Toolkit.  It may be possible to put that file in the path specified above.  I hope this helps!

 

Kristen H.

0 Kudos
Message 2 of 2
(2,588 Views)