I've been making my first several XControls and I have an issue that I cannot figure out.
I have an array in one of my XControls which is supposed to always have 4 elements in it. The problem is that even if I create the type defs with 4 elements and have it set to the default value, when I drop the XControl in a VI, the array is empty.
As far as I can tell, everywhere I can think of where the XControl may get its default value has the array of 4 elements set as the default value. I have attached a small example which illustrates my problem. The Data is a simple 4 element array of {1,2,3,4}. The Fascade only displays the Data on a Data Change event. A pop-up will display whenever a Data Change event occurs.
My expectation is that I drop the XControl on a VI and get a Data Change Event and the array indicator would show the default value of the Data type, i.e. {1,2,3,4}. WHat I get is a Data Change Event, and the arry is empty.
I appreciate any help I can get.
Message Edited by Matthew Kelton on
03-17-2008 02:54 AM