SRADSuperMoonSettings Structure

Structure defining the parameter in SRADSuperMoonSettings

C/C++ Declare

typedef struct __declspec (align(2))
{
 unsigned short perf_en;
 OP_ETH_GENERAL_SETTINGS opEthGen;
 OP_ETH_SETTINGS opEth1;
 unsigned short network_enables;
 unsigned short network_enables_2;
 unsigned short network_enabled_on_boot;
 unsigned short network_enables_3;
 STextAPISettings text_api;
 unsigned short pc_com_mode;
 TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings;
 unsigned short hwComLatencyTestEn;
}SRADSuperMoonSettings;

Visual Basic .NET Declare

<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure SRADSuperMoonSettings
    Dim perf_en As UInt16
    Dim opEthGen As OP_ETH_GENERAL_SETTINGS
    Dim opEth1 As OP_ETH_SETTINGS
    Dim network_enables As UInt16
    Dim network_enables_2 As UInt16
    Dim network_enabled_on_boot As UInt16
    Dim network_enables_3 As UInt16
    Dim text_api As STextAPISettings
    Dim pc_com_mode As UInt16
    Dim timeSyncSettings As TIMESYNC_ICSHARDWARE_SETTINGS
    Dim hwComLatencyTestEn As UInt16
End Structure

C# .NET Declare

[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct SRADSuperMoonSettings
{
    public UInt16 perf_en;
    public OP_ETH_GENERAL_SETTINGS opEthGen;
    public OP_ETH_SETTINGS opEth1;
    public UInt16 network_enables;
    public UInt16 network_enables_2;
    public UInt16 network_enabled_on_boot;
    public UInt16 network_enables_3;
    public STextAPISettings text_api;
    public UInt16 pc_com_mode;
    public TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings;
    public UInt16 hwComLatencyTestEn;
}

Remarks

Item

Description

perf_en

Performance test. Default value = 0

opEthGen

See OP_ETH_GENERAL_SETTINGS structure

opEth1

See OP_ETH_SETTINGS structure

network_enables

Not applicable for RAD SuperMoon. Set to 0

network_enables_2

Not applicable for RAD SuperMoon. Set to 0

network_enabled_on_boot

Not Available

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.

OP_Ethernet1 : 4

OP_Ethernet2 : 5

text_api

See STextAPISettings structure

pc_com_mode

Not Available

timeSyncSettings

See TIMESYNC_ICSHARDWARE_SETTINGS structure

hwComLatencyTestEn

Not Available