TcAdsClient.ReadDeviceInfo Method

Reads the identification and version number of an ADS server.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public DeviceInfo ReadDeviceInfo()

VB

Public Function ReadDeviceInfo As DeviceInfo

Return Value

Type: DeviceInfo
DeviceInfo struct containing the name of the device and the version information.

Implements

IAdsConnection.ReadDeviceInfo.

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Reference

TcAdsClient Class

TwinCAT.Ads Namespace