SRADPlutoSettings Structure

This structure defines various settings for the RAD Pluto device.

C/C++ Declare

typedef struct __declspec (align(2))

{
  unsigned short perf_en;
  CAN_SETTINGS can1;
  CANFD_SETTINGS canfd1;
  CAN_SETTINGS can2;
  CANFD_SETTINGS canfd2;
  LIN_SETTINGS lin1;
  unsigned short network_enables;
  unsigned short network_enables_2;
  unsigned short network_enables_3;
  uint64_t termination_enables;
  unsigned short misc_io_analog_enable;
  unsigned int pwr_man_timeout;
  unsigned short pwr_man_enable;
  unsigned short network_enabled_on_boot;
  unsigned short iso15765_separation_time_offset;
  unsigned short iso9141_kwp_enable_reserved;
  unsigned short iso_tester_pullup_enable;
  unsigned short iso_parity;
  unsigned short iso_msg_termination;
  ISO9141_KEYWORD2000_SETTINGS iso9141_kwp_settings_1;
  ETHERNET_SETTINGS ethernet;
  STextAPISettings text_api;
  unsigned int Flags;
  SPluto_CustomParams custom;
}SRADPlutoSettings;

Visual Basic .NET Declare

<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure SRADPlutoSettings
  Dim perf_en As UInt16
  Dim can1 As CAN_SETTINGS
  Dim canfd1 As CANFD_SETTINGS
  Dim can2 As CAN_SETTINGS
  Dim canfd2 As CANFD_SETTINGS
  Dim lin1 As LIN_SETTINGS
  Dim network_enables As UInt16
  Dim network_enables_2 As UInt16
  Dim network_enables_3 As UInt16
  Dim termination_enables As UInt64
  Dim misc_io_analog_enable As UInt16
  Dim pwr_man_timeout As UInt32
  Dim pwr_man_enable As UInt16
  Dim network_enabled_on_boot As UInt16
  Dim iso15765_separation_time_offset As UInt16
  Dim iso9141_kwp_enable_reserved As UInt16
  Dim iso_tester_pullup_enable As UInt16
  Dim iso_parity As UInt16
  Dim iso_msg_termination As UInt16
  Dim iso9141_kwp_settings_1 As ISO9141_KEYWORD2000_SETTINGS
  Dim ethernet As ETHERNET_SETTINGS
  Dim text_api As STextAPISettings
  Dim Flags As UInt32
  Dim custom As SPluto_CustomParams
End Structure

C# .NET Declare

[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct SRADPlutoSettings
{
public UInt16 perf_en;
public CAN_SETTINGS can1;
public CANFD_SETTINGS canfd1;
public CAN_SETTINGS can2;
public CANFD_SETTINGS canfd2;
public LIN_SETTINGS lin1;
public UInt16 network_enables;
public UInt16 network_enables_2;
public UInt16 network_enables_3;
public UInt64 termination_enables;
public UInt16 misc_io_analog_enable;
public UInt32 pwr_man_timeout;
public UInt16 pwr_man_enable;
public UInt16 network_enabled_on_boot;
public UInt16 iso15765_separation_time_offset;
public UInt16 iso9141_kwp_enable_reserved;
public UInt16 iso_tester_pullup_enable;
public UInt16 iso_parity;
public UInt16 iso_msg_termination;
public ISO9141_KEYWORD2000_SETTINGS iso9141_kwp_settings_1;
public ETHERNET_SETTINGS ethernet;
public STextAPISettings text_api;
public UInt32 Flags;
public SPluto_CustomParams custom;
}

Remarks

Item

Description

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

lin1

See LIN_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.

HSCAN : 0

LIN1 : 2

HSCAN2 : 5

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.

Ethernet : 13

network_enables_3

Not used. Set to 0

termination_enables

Bitfield containing the termination enables.

HSCAN : 0

HSCAN2 : 5

misc_io_analog_enable

Not Used, set to 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

pwr_man_enable

1 = enable Power Management, 0 = disable.

Default value = 0

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

iso15765_separation_time_offset

In an ISO15765-2 Transmission, the receiver transmits a flow control message that informs that transmitter how much time there should be between individual CAN messages. This parameter allows the user to shift that spacing to make it smaller or larger. Valid range is -1563 to 1563 units where each unit represents 6.4us. Defaults to 0. If IFS plus the offset is negative than the Tx Messages will be back to back.

Default value = 0

Examples:

ISO15765-2 Tx Message Inner frame spacing is exactly what is specified in flow control message: iso15765_separation_time_offset = 0

ISO15765-2 Tx Message Inner frame spacing is what’s specified in flow control message.+ 998.4 us: iso15765_separation_time_offset = 156

ISO15765-2 Tx Message Inner frame spacing is what’s specified in flow control message.- 998.4 us: iso15765_separation_time_offset = -156

iso9141_kwp_enable_reserved

Reserved

iso_tester_pullup_enable

Not used Set to 0

iso_parity

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

iso_msg_termination

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

iso9141_kwp_settings_1

See ISO9141_KEYWORD2000_SETTINGS structure

ethernet

See ETHERNET_SETTINGS structure

text_api

See STextAPISettings structure

Flags

Set to 0

custom

See SPluto_CustomParams structure