Incorrect Behavior With Enumerated Type Def Constants in LabVIEW 5.0 Primary Software: LabWindows/CVI Add-ons>>Test ExecutivePrimary Software Version: 5.0 Primary Software Fixed Version: N/A Secondary Software:
Problem: I created an enumerated type def control and an array of cluster constants. Inside of the cluster, I have this enumerated type def and another enumerated constant. Different elements of the enum type def are of different lengths. I resize the array to show more than one cluster element at a time. If I select an element of long length from the enum type def in index 0 of the array, and then select an element of short length from the enum type def in index 1 of the array, the index 0 type def gets truncated in length to be the same as index 1. Now if I left click on a blank space between the two enums within the cluster, the enum type def constant gets resized automatically to the full length. If I just switch to the front panel and back to the diagram window, the enum type def constant has been truncated again. Attached is the type def control and test VI that demonstrates the problem. Solution: This is fixed in LabVIEW 5.1. The flag that allows the enum to resize to its current data is supposed to be turned off when the enum is inside an array. This was not happening if the enum was inside a typedef, but is now fixed. Related Links: Attachments:
Report Date: 04/17/1998 Last Updated: 07/06/1999 Document ID: 18GCQRBS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
