ISO15765_EnableNetworks Method - neoVI API

This method enables the use of ISO15765-2 on a CAN network. icsneoISO15765_EnableNetwroks must be called before using icsneoISO15765_TransmitMessage or icsneoISO15765_ReceiveMessage.

void _stdcall icsneoISO15765_EnableNetworks(void * hObject, unsigned int iNetwork);

Parameters

hObject

[in] Handle which specifies the driver object created with the OpenPort method.

lNetwork

[in] Specifies which CAN network the status is requested for. Can be one of the following values:

NetworkValue

HS CAN

1

MS CAN

2

HS CAN 2

4

HS CAN 3

8

SW CAN

16

HS CAN 4

20

HS CAN 5

24

HS CAN 6

28

HS CAN 7

32

SW CAN 2

36

Return Values

None.

Remarks

None.

Examples

lResult = icsneoISO15765_EnableNetworks(m_hObject,NETID_HSCAN);

Last updated