[kepler-users] defining multi dimensional array in port

[BE] Ufuk Utku Turuncoglu turuncu at be.itu.edu.tr
Wed Oct 17 03:44:40 PDT 2007


hi,

i try to define a port which is in multi dimensional array type (such as 
two or three), using following two dimensional version of the command in 
port definition section,

        var = new TypedIOPort(this, "var", false, true);
        var.setMultiport(true); 
        var.setDisplayName("Variable readed from MM5V3 format");
        var.setTypeEquals(new ArrayType(new ArrayType(BaseType.DOUBLE)));

but, how can i send data using this port? The data is in two dimensional 
double array.

thanks for your help,
any suggestion will be helpful

--ufuk







More information about the Kepler-users mailing list