ILayeredVisualElement (ITF) ¶ INTERFACE ILayeredVisualElement Methods: SetLayerManager Structure: SetLayerManager (Method)
ILayeredVisualElement.SetLayerManager (METH) ¶ METHOD SetLayerManager InOut: Scope Name Type Input layerManager ILayerManager
ILayerManager.EndLayer (METH) ¶ METHOD EndLayer InOut: Scope Name Type Input layer IVisualElementLayer
ILayerManager.SetAdditionalLayers (METH) ¶ METHOD SetAdditionalLayers InOut: Scope Name Type Input pAdditionalLayers POINTER TO ARRAY [0..0] OF IVisualElementLayer nAdditionalLayers INT
IVisuStreamHandler.StartOperation (METH) ¶ METHOD StartOperation : SysTypes.RTS_IEC_RESULT This method will be called when a read or write operation on the current instance operation is started. The return value can either be: ERR_OK: operation successfully started any other error code: starting an operation is not possible (at the moment) InOut: Scope Name Type Return StartOperation SysTypes.RTS_IEC_RESULT
IVisuStreamHandler.EndOperation (METH) ¶ METHOD EndOperation This method will be called after a read or write operation on the current instance operation is finished or to cancel a not yet finished one. It is assumed that this call always succeeds. InOut: Scope Name Type Comment Input xCancel BOOL This value will be TRUE when the operation should be cancelled and FALSE if the call is only a notification about the end of the operation.
IVisuStreamReader.Read (METH) ¶ METHOD Read : SysTypes.RTS_IEC_RESULT This method can be implemented for reading data from a stream like object. The return value can either be: ERR_OK: reading succeeded, udiNrBytes is > 0 ERR_PENDING: reading is temporarily not possible, udiNrBytes = 0 Any other error code: reading failed, reason see error code, udiNrBytes = 0 InOut: Scope Name Type Comment Return Read SysTypes.RTS_IEC_RESULT Input pbyBuffer POINTER TO BYTE A buffer where the data should be written to by the callee. The callee must always write the this buffer starting at offset 0. udiMaxNrBytes UDINT The maximal number of bytes that should be written to pbyBuffer by the callee. Output udiNrBytes UDINT The number of bytes that were read by the callee. A value of 0 signals that the end of the stream was reached or that an error happened. The according decision between error or end of stream is made by evaluating the return value.
IVisuStreamReader (ITF) ¶ INTERFACE IVisuStreamReader EXTENDS IVisuStreamHandler Implementors of this interface can be configured in the input action “File Transfer” in case of streaming data from the plc to the visualization Methods: Read EndOperation , inherited from IVisuStreamHandler StartOperation , inherited from IVisuStreamHandler Structure: Read (Method)
IVisuStreamSetFileName (ITF) ¶ INTERFACE IVisuStreamSetFileName This interface can be optionally implemented by implementors of IVisuStreamWriter when the plc filename should be set. Properties: FileName Structure: FileName (Property)
IVisuStreamSetFileName.FileName (PROP) ¶ PROPERTY FileName : STRING This property will be called to set the file name which comes from the visu client