Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

You cannot type cast between different data value reference types

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

You cannot use the Type Cast function to cast from one type of data value reference to another type of data value reference. The data determines the type of the data value reference, and you should not change that type.

To correct this error, cast class references using the To More Specific Class or To More Generic Class functions.

To access the data as a different type, use the Data Value Reference Read / Write Element border node on the In Place Element structure and type cast the data inside the structure.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit