A little more descriptive version of my problem:
My question is specific to accesing a particular type of data member (public member).
we have two namespaces, a and b. Namespace a is an utility namespace (.Net Assembly)
to hold all the structure declarations,
example:
namespace a
{
public struct FOO
{
public int i;
public short s;
public string st;
}
}
namespace b consists of all the classes and their methods, but has reference to
namespace a for utilizing the structure types:
using a;
namespace b
{
public class class1
{
public FOO foo1; //here we utilize the struct FOO
public Method1()
{
//update member variable foo1 //
return;
}
}
}
Now, in labview I added reference to both of these namespaces (.Net assemblies).
Then I created an instance of the class - class1, call its method (method1). Method1
updates foo1 as expected (I set breakpoint in the dll code). Then the method returns,
I then use a property node to view foo1. The foo1 name shows up in the propertis list,
but I am not able to decode the individual members of foo1 (i, s, st etc).
This is my problem and I am not sure how can I do this. When I use a constructor node
to bring up namespace a, I dont see FOO structure at all.
I would imagine its a fundamental issue in object oriented programming.
If anybody have any idea, please lett me know either here or
via email : mrahman@aerotech.com
Thanks,
Ratin