SVCAN412Settings Structure

This structure defines various settings for the ValueCAN4-1 and ValueCAN4-2 devices.

C/C++ Declare

typedef struct __declspec (align(2))
{
   int64_t perf_en;
   CAN_SETTINGS can1;
   CANFD_SETTINGS canfd1;
   CAN_SETTINGS can2;
   CANFD_SETTINGS canfd2;
   uint64_t network_enables;
   uint64_t termination_enables;
   uint32_t pwr_man_timeout;
   uint16_t pwr_man_enable;
   uint16_t network_enabled_on_boot;
   uint16_t iso15765_separation_time_offset;
   STextAPISettings text_api;
   uint32_t flags;
}SVCAN412Settings;

Visual Basic .NET Declare

<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure SVCAN412Settings
   Dim perf_en As Int64
   Dim can1 As CAN_SETTINGS
   Dim canfd1 As CANFD_SETTINGS
   Dim can2 As CAN_SETTINGS
   Dim canfd2 As CANFD_SETTINGS
   Dim network_enables As UInt64
   Dim termination_enables As UInt64
   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 text_api As STextAPISettings
   Dim flags As UInt32
End Structure

C# .NET Declare

[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct SVCAN412Settings
{

   public Int64 perf_en;
   public CAN_SETTINGS can1;
   public CANFD_SETTINGS canfd1;
   public CAN_SETTINGS can2;
   public CANFD_SETTINGS canfd2;
   public UInt64 network_enables;
   public UInt64 termination_enables;
   public UInt32 pwr_man_timeout;
   public UInt16 pwr_man_enable;
   public UInt16 network_enabled_on_boot;
   public UInt16 iso15765_separation_time_offset;
   public STextAPISettings text_api;
   public UInt32 flags;
}

Remarks

ItemDescription
perf_enPerformance test. Default value = 0 
can1See CAN_SETTINGS structure
canfd1See CANFD_SETTINGS structure
can2See CAN_SETTINGS structure
canfd2See CANFD_SETTINGS structure
network_enablesBitfield containing the software license enables. 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 : Bit 0 HSCAN2 : Bit 5
termination_enablesBitfield containing the enables for CAN Termination. To enable a specific channel its corresponding bit must be set (1). .
HSCAN : Bit 0 HSCAN2 : Bit 5
pwr_man_timeoutNumber 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_enable1 = enable Power Management, 0 = disable.

Default value = 0
network_enabled_on_bootNormally 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_offsetIn 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
text_apiSee STextAPISettings structure
flagsBitfield with misc settings for the device.  List below gives the parameter with the bit number to have set to enable.

Disable USB Check On Boot : 0

IntrepidCS API   Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc.

Last Updated : Thursday, August 16, 2018