I'd like to see a function that provides default data for any given data type. I think there could be multiple uses for this; I've detailed mine below.
In this example, I have a test results array that is indexed by test number. If I run tests out of order, I want be able to fill in the results of the array at the desired index. To do this, I have to add empty rows to the results array up to the current test's index. To do get the default data I used a diagram disable structrue with an empty "Enabled" case, with the output set to "Use Default if unwired. This is obviously a kludge.
I'd like to see a function that takes in any data type and returns the default data for that type:
Message Edited by RandyP on 03-02-2010 11:42 AM
Message Edited by RandyP on 03-02-2010 11:45 AM
-Randy -=--=-=-=-=-=-=- Nothing like a good dose of LabVIEW to cure what ails ya'.