SVCAN4Settings Structure

This structure defines various settings for the ValueCAN 4-4 and 4-2EL device.

typedef struct __declspec
{
  uint16_t perf_en;
  CAN_SETTINGS can1;
  CANFD_SETTINGS canFD1;
  CAN_SETTINGS can2;
  CANFD_SETTINGS canFD2;
  CAN_SETTINGS can3;
  CANFD_SETTINGS canFD3;
  CAN_SETTINGS can4;
  CANFD_SETTINGS canFD4;
  unsigned short network_enables;
  unsigned short network_enables_2;
  LIN_SETTINGS lin1;
  unsigned short network_enabled_on_boot;
  unsigned short iso_9141_kwp_enable_reserved;
  ISO9141_KEYWORD2000_SETTINGS iso9141_kwp_settings;
  unsigned short iso_parity;
  unsigned short iso_msg_termination_1;
  unsigned short network_enables_3;
  STextAPISettings text_api;
  ETHERNET_SETTINGS ethernet;
  unsigned int Flags;
  unsigned short pwr_man_enable;
  unsigned short pwr_man_timeout;
}
SVCAN4Settings;

Remarks

ItemDescription

perf_en

Performance test. Default value = 0

can1

See CAN_SETTINGS structure

canFD1

See CANFD_SETTINGS structure

can2

See CAN_SETTINGS structure

canFD2

See CANFD_SETTINGS structure

can3

See CAN_SETTINGS structure

canFD3

See CANFD_SETTINGS structure

can4

See CAN_SETTINGS structure

canFD4

See CANFD_SETTINGS structure

network_enables

Bitfield containing the software license enables. Depending on the hardware license purchased the customer may have to conditionally select which hardware channels to enable. For example the neoVI Red license allows the user to enable any 2 Dual Wire CAN channels and any 2 LIN channels. To enable a specific network its corresponding bit must be set (1). In order to transmit or receive on a network it must be enabled.

network_enables_2

Bitfield containing the software license enables. Depending on the hardware license purchased the customer may have to conditionally select which hardware channels to enable. For example the neoVI Red license allows the user to enable any 2 Dual Wire CAN channels and any 2 LIN channels. To enable a specific network its corresponding bit must be set (1). In order to transmit or receive on a network it must be enabled.

lin1

See LIN_SETTINGS structure

network_enabled_on_boot

Normally neoVI only initiates its comm channels when CoreMini is running or if neoVI is online with DLL/Vehicle Spy 3. Practically this means the the CAN controllers stay in Listen Only mode until the device goes online. Once online the neoVI loads the user settings. Setting this parameter to 1 will change this behavior so that the neoVI enables its controllers immediately on boot.

Default value = 0

iso_9141_kwp_enable_reserved

Reserved

iso9141_kwp_settings

iso_parity

ISO9141 Parity setting: 0 - no parity, 1 - even, 2 - odd

iso_msg_termination_1

ISO9141 message termination setting: 0 - use inner frame time 1 - GME CIM-SCL

network_enables_3

Bitfield containing the software license enables. Depending on the hardware license purchased the customer may have to conditionally select which hardware channels to enable. For example the neoVI Red license allows the user to enable any 2 Dual Wire CAN channels and any 2 LIN channels. To enable a specific network its corresponding bit must be set (1). In order to transmit or receive on a network it must be enabled.

text_api

See STextAPISettings structure

ethernet

See ETHERNET_SETTINGS structure

Flags

Not used

pwr_man_enable

1 = enable Power Management, 0 = disable.

Default value = 0

pwr_man_timeout

Number of milliseconds of no bus activity required before neoVI enters low power mode. Note pwr_man_enable must be set for power management to be enabled.

Default value = 10000

Last updated