CANopenDevice_Diag.GetBusInfo (METH)ΒΆ

METHOD GetBusInfo : DED.ERROR

Returns information about the associated CANbus. Interpretation of DED.BUS_INFO is as follows:

Component

Interpretation

eType

DED.BUS_TYPE.CANOPEN

idSystem

Network ID

idInstance

Instance number in I/O configuration (starting by 0)

InOut:

Scope

Name

Type

Comment

Return

GetBusInfo

DED.ERROR

DED.ERROR.NO_ERROR if no error occurred while getting information.

Inout

buiInfo

DED.BUS_INFO

Bus information struct