04-19-2006 12:33 PM
04-20-2006 01:24 PM
04-20-2006 06:02 PM
Santiago,
Thanks very much for your reply. It seems right to me, but when my equivalent to
MyMeasurement = MyStep.AsPropertyObject.GetPropertyObject("result.measurement[0]", 0)
is executed the following runtime error appears: "Object variable or With block variable not set".
This is a vb6 message meaning
"attempted to use an object variable that isn't yet referencing a valid object", or
"attempted to use an object variable that has been set to Nothing"
I assume its referring to "result.measurement[0]", but as I indicated in the first post I am able to reference subproperties of result.measurement[0], e.g, limits, status, etc.
Don't know if you have any further suggestions (but I hope so). Thanks again.
Jon
I
04-21-2006 11:06 AM
Jon,
I'm not sure at this point why you are getting the error when trying to access the name of the Measurement. This is one of those cases where it might be easier for me to send you a small example that reads the measurement's name in VB. This might be easier than me trying to find out what is the difference between your code and mine.
Make sure to re-link the .Net assembly to point to the new location where you decompress the files.
Let me know if this works on your computer and what differences you see between this and your code.
Regards,
Santiago D