06-07-2007 03:29 PM
06-07-2007 07:15 PM - edited 06-07-2007 07:15 PM
Message Edited by Matt W on 06-07-2007 07:16 PM
06-08-2007 01:18 PM
Matt,
Thanks for the reply. I had done this and received error messages. But late last night a coleague was revewing the work I had done and he discovered my issue. I had gone the extra mile to try and support keyed access to the objects in the collection, so instead of an array of LabVIEW Objects, my collection actually contained an array of KeyedItem objects which were LabVIEW Objects with an associated unique identifier string. In my Collection.GetItem method I had forgotten to extract the LabVIEW Object from the KeyedItem object, so I was actually returning a KeyedItem object which was not typecasting very well. Being new to LVOOP I had assumed I was doing the typecast wrong.
Thanks again.