I'm not seeing the results from a method call that I'm expecting. Is there a bug in the following code or is the call supposed to return no properties?
No properties are found/returned when I invoke Property::GetList on a class variable anywhere in the ESI, Master, or Base class libraries. ObjectPointer is a valid OID string that points to a class variable.
NvList PropertyList = new NvList();
Parameter[] Parameters = new Parameter[1];
Variant var_Result;
Parameters[0] = new Parameter(new Variant(PropertyList));
var_Result = NodeGateway.invoke(ObjectPointer, "Property::GetList",0,Parameters);
System.out.println(PropertyList.getDimension() + " properties read for " + ClassName + ". Result String " + var_Result.getString() + ". Return type = " + var_Result.getType());
for (int i = 0; i<PropertyList.getDimension();i++){
System.out.println("VariableTreeNode.loadChildren(): property " + PropertyList.getName(i) + " read.");
}
Thanks.
Richard Schilling
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not seeing the results from a method call that I'm expecting. Is there a bug in the following code or is the call supposed to return no properties?
No properties are found/returned when I invoke Property::GetList on a class variable anywhere in the ESI, Master, or Base class libraries. ObjectPointer is a valid OID string that points to a class variable.
NvList PropertyList = new NvList();
Parameter[] Parameters = new Parameter[1];
Variant var_Result;
Parameters[0] = new Parameter(new Variant(PropertyList));
var_Result = NodeGateway.invoke(ObjectPointer, "Property::GetList",0,Parameters);
System.out.println(PropertyList.getDimension() + " properties read for " + ClassName + ". Result String " + var_Result.getString() + ". Return type = " + var_Result.getType());
for (int i = 0; i<PropertyList.getDimension();i++){
System.out.println("VariableTreeNode.loadChildren(): property " + PropertyList.getName(i) + " read.");
}
Thanks.
Richard Schilling