If the data consists of an array of HEX(2) elements, it is written as raw bytes; otherwise it is written as a STRING. If the data queue was set up as a keyed queue, you can specify a key that programs can use to filter the elements they read from the queue.
iplatformLib.addElement( dataQueueDef DataQueueDefinition inOut, elementData ANY inOut [, keyData ANY in] )