CL2.GetProperty (FUN)

( CAA_CanL2.library)

Input:

hDriver

CAA.HANDLE

handle of interface

wProperty

WORD

number of property

Output:

dwProperty

DWORD

value of property

Value

CL2.Property

meaning

values

 

1

CL2.RTRSUPPORT

support of RTR messages

0: no support

1: support

10

CL2.SIZESENDQUEUE

size of sending queue

0: no existing queue

16#FFFFFFFF: size of queue is limited only by allocated memory

else: maximum  number of messages in queue

11

CL2.SENDPRIORITY

prioritization of sending queue (provided CL2.SIZESENDQUEUE <> 0)

0: prioritization of messages according to CobID

1: messages are sent in chronological order (without prioritization)

2-9: number of priority levels in the driver

20

CL2.SIZERECEIVEQUEUEID

size of receive queue for IDs defined by CL2.RegisterID

1: one message at mos

16#FFFFFFFF: size of queue is limited only by allocated memory

else: maximum number of messages in queue

21

CL2.SIZERECEIVEQUEUEIDAREA

size of receive queue for IDs defined by CL2.RegisterIDArea

16#FFFFFFFF: size of queue is limited only by allocated memory

else: maximum  number of messages in queue

22

CL2.SYNCWINDOW

support of  SYNC_Window function

0: no support

1: support

23

CL2.RECEIVEEVENT

For receiving a message, can an event be registered at the driver?

0: no

1: yes

100

CL2.LOSTMESSAGES

support of CL2.LostMessages function

0: no support

1: support

101

CL2.TIMESTAMP

support of CL2.GetTimeStamp function

0: no support

1: support

200

CL2.SYNCSERVICE

support of CL2.EnableSyncService function

0: no

Bit1: as Producer

Bit2: as Consumer

201

CL2.SYNCEVENT

support of xEnableSyncCallback input with CL2.EnableSyncService

0: no support

1: support

202

CL2.SYNCWINDOWLENGTH

support of udiSyncWindowLength input with  CL2.EnableSyncService

0: no support

1: support

203

CL2.SYNCFOREWARNTIME

support of udiSyncForewarnTime  input with CL2.EnableSyncService

0: no support

1: support

250

CL2.TIMESERVICE

Support of CL2.EnableTimeService function

0: no

Bit1: as Producer

Bit2: as Consumer

 

251

CL2.TIMEEVENT

support of xEnableTimeCallback input with CL2.EnableTimeService

0: no support

1: support

254

CL2.HIGHRESSYNC

support of xEnableHighResSync input with CL2.EnableTimeService

0: no support

1: support

253

CL2.TIMEFOREWARNTIME

support of udiTimeForewarnTime input with CL2.EnableTimeService

0: no support

1: support

300

CL2.BUSLOAD

support o fCL2.GetBusLoad function

0: no support

1: support

301

CL2.BAUDRATE

support of CL2.GetBaudrate function

0: no support

1: support