Byte[] bytes = new Byte[]{0x01,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
JIArray v = new JIArray(bytes,true);
value = new JIVariant(v);
int code = item.write(value);
A Byte is 8bit. So if you want two byte (16bit) the Short type would be the correct one. However I think that jinterop also has some JUnsignedShort type. But would have to look this up myself.
--
You received this message because you are subscribed to the Google Groups "openSCADA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openscada+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.