IDataStorage.Open (METH) ¶ METHOD Open : BOOL Open database for reading or writing InOut: Scope Name Type Return Open BOOL Input openMode ACP_OPEN_MODE sFilePostfix STRING
IDataStorage.Put (METH) ¶ METHOD Put : BOOL add one entry InOut: Scope Name Type Return Put BOOL Input pKey POINTER TO BYTE data ACP_TypedValue
IDataStorage2 (ITF) ¶ INTERFACE IDataStorage2 EXTENDS IDataStorage Methods: OnResetOrigin Close , inherited from IDataStorage Next , inherited from IDataStorage Open , inherited from IDataStorage Put , inherited from IDataStorage Structure: OnResetOrigin (Method)
IDataStorage2.OnResetOrigin (METH) ¶ METHOD OnResetOrigin
ASCIIFileStorage (FB) ¶ FUNCTION_BLOCK ASCIIFileStorage EXTENDS FileStorageBase IMPLEMENTS IDataStorage4 , IDynamicMemoryProvider InOut: Scope Name Type Initial Comment Inherited from Input sArchive STRING ‘%CHANNEL_NAME%’ parameters FileStorageBase xDoubleStorage BOOL FALSE FileStorageBase udiMaximumFileSize UDINT 0 FileStorageBase bySeparator BYTE 9 TAB Properties: ArchiveBaseName , inherited from FileStorageBase Methods: FB_EXIT Next Open Put Close , inherited from FileStorageBase CloseCheckDependant , inherited from FileStorageBase CloseFile , inherited from FileStorageBase GetErrorMessage Init , inherited from FileStorageBase OnResetOrigin , inherited from FileStorageBase OnResetOrigin2 , inherited from FileStorageBase OpenFile , inherited from FileStorageBase ReadHeader WriteHeader Structure: ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method)
BinaryFileStorage (FB) ¶ FUNCTION_BLOCK BinaryFileStorage EXTENDS FileStorageBase IMPLEMENTS IDataStorage4 InOut: Scope Name Type Initial Comment Inherited from Input sArchive STRING ‘%CHANNEL_NAME%’ parameters FileStorageBase xDoubleStorage BOOL FALSE FileStorageBase udiMaximumFileSize UDINT 0 FileStorageBase Properties: ArchiveBaseName , inherited from FileStorageBase Methods: Next Put Close , inherited from FileStorageBase CloseCheckDependant , inherited from FileStorageBase CloseFile , inherited from FileStorageBase GetErrorMessage Init , inherited from FileStorageBase OnResetOrigin , inherited from FileStorageBase OnResetOrigin2 , inherited from FileStorageBase Open , inherited from FileStorageBase OpenFile , inherited from FileStorageBase ReadHeader WriteHeader Structure: ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method)
BinaryMemoryStorage (FB) ¶ FUNCTION_BLOCK BinaryMemoryStorage EXTENDS AC.Module IMPLEMENTS IDataStorage2 InOut: Scope Name Type Initial Input pbyMemData POINTER TO BYTE udiMemDataSize UDINT 1024 Methods: Close Next OnResetOrigin Open Put GetErrorMessage Structure: Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method)
BufferedFileStream (FB) ¶ FUNCTION_BLOCK FINAL BufferedFileStream IMPLEMENTS IStream A buffer that can be either used for reading or writing (but not both) Methods: FB_EXIT Flush Init Read Reset Write Structure: FB_EXIT (Method) Flush (Method) Init (Method) Read (Method) Reset (Method) Write (Method)
DataStorageItems ¶ ACP_NextBufferedStream (Function) ACP_PutBufferedStream (Function) ACP_PutBufferedStreamGetErrorMessage (Function) ACP_StringFromStream (Function) ACP_StringToStream (Function) ACP_TypedValue (Struct) ACP_TypedValueFromStream (Function) ACP_TypedValueFromString (Function) ACP_TypedValueToStream (Function) ACP_TypedValueToString (Function)
FileHeader (STRUCT) ¶ TYPE FileHeader : STRUCT InOut: Name Type dtCreated DT