IDataSourceDriver.StartShutdown (METH) ¶ METHOD StartShutdown : UDINT InOut: Scope Name Type Return StartShutdown UDINT
IDataSourceDriver.State (PROP) ¶ PROPERTY State : DataSourceState
IDataSourceDriver.UpdateRequest (METH) ¶ METHOD UpdateRequest : UDINT This method will be called after a request has been sent to check, whether an answer has arrived. As long as the driver is waiting for a reply, it can return ERR_FAILED. If there was a successful reply it may return ERR_OK, else an Error code describing the error. When ERR_DS_UNKNOWN_TRANSACTION is returned, the server assumes that the transaction is finished and will send new requests. InOut: Scope Name Type Return UpdateRequest UDINT Input pItems POINTER TO ARRAY [0..100] OF IDataItem iItemCount UDINT dwListId DWORD dwTransactionId DWORD
IDataSourceDriver.WriteRequest (METH) ¶ METHOD WriteRequest : UDINT InOut: Scope Name Type Return WriteRequest UDINT Input pItems POINTER TO ARRAY [0..100] OF IDataItem iItemCount UDINT dwListId DWORD Output dwTransactionId DWORD
IDataSourceDriver2 (ITF) ¶ INTERFACE IDataSourceDriver2 EXTENDS IDataSourceDriver Properties: LastError , inherited from IDataSourceDriver State , inherited from IDataSourceDriver Methods: ShutdownFinished Connecting , inherited from IDataSourceDriver GetRequestResult , inherited from IDataSourceDriver GetSetting , inherited from IDataSourceDriver Initialize , inherited from IDataSourceDriver ReadRequest , inherited from IDataSourceDriver Reset , inherited from IDataSourceDriver ShuttingDown , inherited from IDataSourceDriver StartConnect , inherited from IDataSourceDriver StartShutdown , inherited from IDataSourceDriver UpdateRequest , inherited from IDataSourceDriver WriteRequest , inherited from IDataSourceDriver Structure: ShutdownFinished (Method)
IDataSourceDriver2.ShutdownFinished (METH) ¶ METHOD ShutdownFinished : UDINT InOut: Scope Name Type Return ShutdownFinished UDINT Input dwFlags DWORD
IDataSourceDriver3 (ITF) ¶ INTERFACE IDataSourceDriver3 EXTENDS IDataSourceDriver2 Properties: CredentialsNeeded LastError , inherited from IDataSourceDriver State , inherited from IDataSourceDriver Methods: AssignCredentials GetInterface Connecting , inherited from IDataSourceDriver GetRequestResult , inherited from IDataSourceDriver GetSetting , inherited from IDataSourceDriver Initialize , inherited from IDataSourceDriver ReadRequest , inherited from IDataSourceDriver Reset , inherited from IDataSourceDriver ShutdownFinished , inherited from IDataSourceDriver2 ShuttingDown , inherited from IDataSourceDriver StartConnect , inherited from IDataSourceDriver StartShutdown , inherited from IDataSourceDriver UpdateRequest , inherited from IDataSourceDriver WriteRequest , inherited from IDataSourceDriver Structure: AssignCredentials (Method) CredentialsNeeded (Property) GetInterface (Method)
IDataSourceDriver3.AssignCredentials (METH) ¶ METHOD AssignCredentials : UDINT InOut: Scope Name Type Return AssignCredentials UDINT Input stUsername STRING stPassword STRING
IDataSourceDriver3.CredentialsNeeded (PROP) ¶ PROPERTY CredentialsNeeded : BOOL
IDataSourceDriver3.GetInterface (METH) ¶ METHOD GetInterface : POINTER TO BYTE Optionally returns an interface with the given id when it is implemented by the impelementing function block. The return value will be pointer to the requested interface InOut: Scope Name Type Return GetInterface POINTER TO BYTE Input dwItfId DWORD