STextAPISettings Structure

This structure defines settings for Text API communication for neoVI Fire devices.

C/C++ Declare

typedef struct _STextAPISettings
{
   
unsigned int can1_tx_id;
   
unsigned int can1_rx_id;
   
unsigned int can1_options;// Set to 1 for Extended, 0 for standard
   
unsigned int can2_tx_id;
   
unsigned int can2_rx_id;
   
unsigned int can2_options; // Set to 1 for Extended, 0 for standard
   
unsigned int network_enables;
   
unsigned int can3_tx_id3;
   
unsigned int can3_rx_id3;
   
unsigned int can3_options; // Set to 1 for Extended, 0 for standard
   
unsigned int can4_tx_id4;
   
unsigned int can4_rx_id4;
   
unsigned int can4_options; // Set to 1 for Extended, 0 for standard
   
int Reserved0;
   
int Reserved1;
   
int Reserved2;
   
int Reserved3;
   
int
Reserved4;
}STextAPISettings;

 

Visual Basic .NET Declares

<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure STextAPISettings
    Dim can1_tx_id As UInt32
    Dim can1_rx_id As UInt32
    Dim can1_options As UInt32 '// Set to 1 for Extended, 0 for standard
    Dim can2_tx_id As UInt32
    Dim can2_rx_id As UInt32
    Dim can2_options As UInt32 '// Set to 1 for Extended, 0 for standard
    Dim network_enables As UInt32
    Dim can3_tx_id3 As UInt32
    Dim can3_rx_id3 As UInt32
   
Dim can3_options As UInt32 '// Set to 1 for Extended, 0 for standard
    Dim can4_tx_id4 As UInt32
    Dim can4_rx_id4 As UInt32
    Dim can4_options As UInt32 '// Set to 1 for Extended, 0 for standard
    Dim Reserved0 As Int32
    Dim Reserved1 As Int32
   
Dim Reserved2 As Int32
   
Dim Reserved3 As Int32
    Dim Reserved4 As Int32
End
Structure




C# Declares

[StructLayout(LayoutKind.Sequential,Pack=2)]
public struct STextAPISettings
{
   
public UInt32 can1_tx_id;
   
public UInt32 can1_rx_id;
   
public UInt32 can1_options; // Set to 1 for Extended, 0 for standard
   
public UInt32 can2_tx_id;
   
public UInt32 can2_rx_id;
   
public UInt32 can2_options; // Set to 1 for Extended, 0 for standard
   
public UInt32 network_enables;
   
public UInt32 can3_tx_id3;
   
public UInt32 can3_rx_id3;
   
public UInt32 can3_options; // Set to 1 for Extended, 0 for standard
   
public UInt32 can4_tx_id4;
   
public UInt32 can4_rx_id4;
   
public UInt32 can4_options; // Set to 1 for Extended, 0 for standard
   
public Int32 Reserved0;
   
public Int32 Reserved1;
   
public Int32 Reserved2;
   
public Int32 Reserved3;
   
public
Int32 Reserved4;
}


Remarks

 Structurew Elements

Item Description
icscm_uint32 can_tx_id Sets or Reads the Arbitration ID for Sending Text API commands
icscm_uint32 can_rx_id Sets or Reads the Arbitration ID for Sending Receiving API commands
icscm_uint32 can_options Sets the length of the Arbitration ID's.  Set to 1 for Extended and 0 for Standard
icscm_uint32 network_Enables Bitfield telling which netowrk to support Text API.  One one can be enabled at a time.
HS CAN : 1 MS CAN : 2
HS CAN 2 : 32 HS CAN 3 : 256
RS232/UART2 : 4194304 UART1 : 2097152
icscm_uint32 Reserved Not used

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

Last Updated : Wednesday, November 18, 2020