AdsConnection Methods
The AdsConnection type exposes the following members.
Methods
|
Name |
Description |
---|---|---|
|
AddDeviceNotification(String, AdsStream, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(UInt32, UInt32, AdsStream, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(String, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object) |
Adds the device notification. |
|
AddDeviceNotification(UInt32, UInt32, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. If type is a string type, the first element of the parameter args specifies the number of characters of the string. If type is an array type, the number of elements for each dimension has to be specified in the parameter args. At the moment only 1 dimensional Arrays are supported. |
|
Closes the AdsConnection | |
|
(Re)Connects the IConnection when disconnected. | |
|
Creates a new instance of the Symbol loader with the specified mode. | |
|
Generates a unique handle for an ADS variable. | |
|
Deletes an existing notification. | |
|
Releases the handle of a ADS variable again. | |
|
Disconnects this IConnection. | |
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads any. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads data synchronously from an ADS device and writes it to an object. If the Type of the object to be read is a string type, the first element of the parameter args specifies the number of characters of the string. If the Type of the object to be read is an array type, the number of elements for each dimension has to be specified in the parameter args. At the moment only 1 dimensional Arrays are supported. | |
|
Reads data synchronously from an ADS device and writes it to an object. If the Type of the object to be read is a string type, the first element of the parameter args specifies the number of characters of the string. If the Type of the object to be read is an array type, the number of elements for each dimension has to be specified in the parameter args. At the moment only 1 dimensional Arrays are supported. | |
|
Reads the string. | |
|
Reads the string | |
|
Reads the identification and version number of an ADS server. | |
|
Reads the ADS status and the device status from an ADS server. | |
|
Reads the ADS status and the device status from an ADS server. | |
|
Reads the value of a symbol and returns it as an object. Strings and all primitive datatypes(UInt32, Int32, Bool etc.) are supported. Arrays and structures cannot be read. | |
|
Reads the value of a symbol and returns the value as object. The parameter type must have the same layout as the ADS symbol. | |
|
Call this method to obtain information about the individual symbols (variables) in ADS devices. | |
|
Writes data synchronously to an ADS device and then Reads data from this device. | |
|
Writes data synchronously to an ADS device and then Reads data from this device. | |
|
ReadWrite(Int32, AdsStream, Int32, Int32, AdsStream, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
ReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32) |
Writes data synchronously to an ADS device and then reads data from this device. |
|
ReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
ReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
ReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. | |
|
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. | |
|
Deletes an existing notification. | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method | |
|
Invokes the specified RPC Method. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
TryRead(UInt32, UInt32, .Byte., Int32, Int32, Int32, Int32.) |
Reads data synchronously from an ADS device and writes it to the given stream. |
|
TryRead(UInt32, UInt32, AdsStream, Int32, Int32, Int32, Int32.) |
Reads data synchronously from an ADS device and writes it to the given stream. |
|
Reads the ADS status and the device status from an ADS server. Unlike the ReadState method this method does not call an exception on failure. Instead an AdsErrorCode is returned. If the return value is equal to AdsErrorCode.NoError the call was successful. | |
|
Reads the ADS status and the device status from an ADS server. Unlike the ReadState method this method does not call an exception on failure. Instead an AdsErrorCode is returned. If the return value is equal to AdsErrorCode.NoError the call was successfull. | |
|
TryReadWrite(Int32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Writes data synchronously to an ADS device. | |
|
Trigger Client Method/Command. | |
|
Trigger Client Method/Command. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. | |
|
Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. Array and structures are not supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. | |
|
Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.) | |
|
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
PollValues(String, Type, IObservable.Unit., Func.Exception, Object.) |
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
PollValues(String, Type, .Int32., IObservable.Unit., Func.Exception, Object.) |
Overloaded. Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) |
|
PollValues(String, Type, .Int32., TimeSpan, Func.Exception, Object.) |
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) |
|
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
PollValues.T.(String, IObservable.Unit., Func.Exception, T.) |
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
PollValues.T.(String, .Int32., IObservable.Unit., Func.Exception, T.) |
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) |
|
PollValues.T.(String, .Int32., TimeSpan, Func.Exception, T.) |
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) |
|
Overloaded. Gets an observable sequence of Notifications. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notifications. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.) | |
|
Observable sequence of Values driven by ADS Notifications on the specified symbol. (Defined by ValueSymbolExtensions.) | |
|
Overloaded. Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.) |
- AdsConnection.AddDeviceNotification Method
- AdsConnection.AddDeviceNotificationEx Method
- AdsConnection.Close Method
- AdsConnection.Connect Method
- AdsConnection.CreateSymbolLoader Method
- AdsConnection.CreateVariableHandle Method
- AdsConnection.DeleteDeviceNotification Method
- AdsConnection.DeleteVariableHandle Method
- AdsConnection.Disconnect Method
- AdsConnection.Dispose Method
- AdsConnection.InvokeRpcMethod Method
- AdsConnection.Read Method
- AdsConnection.ReadAny Method
- AdsConnection.ReadAnyString Method
- AdsConnection.ReadDeviceInfo Method
- AdsConnection.ReadState Method
- AdsConnection.ReadSymbol Method
- AdsConnection.ReadSymbolInfo Method
- AdsConnection.ReadWrite Method
- AdsConnection.TryAddDeviceNotification Method
- AdsConnection.TryAddDeviceNotificationEx Method
- AdsConnection.TryDeleteDeviceNotification Method
- AdsConnection.TryInvokeRpcMethod Method
- AdsConnection.TryRead Method
- AdsConnection.TryReadState Method
- AdsConnection.TryReadWrite Method
- AdsConnection.TryWrite Method
- AdsConnection.TryWriteControl Method
- AdsConnection.Write Method
- AdsConnection.WriteAny Method
- AdsConnection.WriteControl Method
- AdsConnection.WriteSymbol Method