Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
<?xml version="1.0" encoding="utf-8"?>
Element name: REXGENCONFIG
Description: Root element should be REXGENCONFIG
Sub Element: VERSION-TYPE, CONFIG, SDINTERFACE_LIST, USBINTERFACE_LIST, CANINTERFACE_LIST, CANMESSAGE_LIST, SDMESSAGE_LIST, USBMESSAGE_LIST
Element name: VERSION
Description: The validation and conversion library uses the VERSION element. This document specifies version 1.0.1. Unknown elements are ignored.
Sub Element: None
Element name: CONFIG
Description: UID (UID Should be unique for each element).
Sub Elements: GUID, InterfaceCount, Name, TimeStampSize, TimeStampPrecision, SleepMode, ConfigurationVersion, CANPositiveTimeout, CANSilentDelay, CANReceiveTimeout, EncryptType, EncryptKey, LockDevice, EncryptDataLog, WAKEUP_SOURCE_LIST
Element name: Name
Description: Name of the configuration. The same name will be used in the beginning of the log file name in internal or cloud storage.
Example:
Element name: TimeStampPrecision
Description: Defines precision of internal timestamp in microseconds.
Example: If the precision is 10, the smallest difference between 2 points will be 10 microseconds.
Example:
Element name: CANPositiveTimeout
Description: The device will stop sending messages on CAN if do not receive positive response for a defined period.
Example:
Element name: ConfigurationVersion
Description: The version of the configuration
Example:
Type
Units
Default
MinOcurance
MaxOcurance
String
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
us
10
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
Seconds
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
2
1
1
Element name: WAKEUP_SOURCE_LIST
Sub Elements: WAKEUP_SOURCE,
Example:
Element name: WAKEUP_SOURCE
Sub Elements: WakeupSourceType, WakeupParameter
Element name: CONFIG_FTP UID
Sub Element: ServerName_IP_Connection_Option, ServerIP, ServerName, Mode, Type, Port, User, Pass, StatusSendTime, ConfigurationCheckTime, FirmwareCheckTime, AutomaticFirmwareUpdate, EncryptPass
Example:
Element name: SleepMode
Description: Sleeping options of the device (logger), can be: NO_SLEEP, NORMAL_SLEEP, DEEP_SLEEP. Default value is NO_SLEEP
Example:
Element name: TimeStampSize
Description: Size in bytes of timestamp used for storing data (default 4).
Example:
Element name: InterfaceCount
Description: Deprecated. Total number of interfaces (CANInterface, SDInterface etc.), the Default value is 0.
Example:
Element name: EncryptType
Description: The device can encrypt logs and lock communication from USB.
Example:
Element name: CANReceiveTimeout
Description: The device will go to sleep if do not receive a message for a defined amount of time.
Example:
Element name: CANSilentDelay
Description: The device will not send any message on CAN for a defined period of time
Example:
Element name: WakeupSourceType
Description: Defines list with the wake-up sources. It is either CAN0 or CAN1.
Example:
Element name: LockDevice
Description: Define is device locked for USB communication.
Example:
Element name: WakeupParameter
Description: Defines the parameter for alarm wake-up.
Example:
Element name: ServerName_IP_Connection_Option
Description: Specifies which option is used for connection, server name or FTP IP.
Example:
Element name: EncryptDataLog
Description: All logs will be encrypted. The file type will be RXE.
Example:
Element name: ServerName
Description: Defines the server’s name/FTP IP. It can be any name assigned by the user.
Example:
Element name: Type
Description: Defines FTP type.
Example:
Element name: Mode
Description: specifies if the mode of FTP is active or passive.
Example:
Element name: Port
Description: Defines FTP Port.
Example:
Element name: EncryptKey
Description:
Example:
Type
Units
Default
MinOcurance
MaxOcurance
SleepOptionType
Enumeration
NO_SLEEP
NORMAL_SLEEP
DEEP_SLEEP
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
bytes
4
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
Encrypt_Type
-
No_Encryption
0
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
Seconds
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
Seconds
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
Wakeup_Source_Type
-
false
0
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
false
0
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
seconds
0
0
1
Type
Units
Default
MinOcurance
MaxOcurance
FTP_Connection_Option
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
false
0
1
Type | Units | Default | MinOcurance | MaxOcurance |
string | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
FTP_Type | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
FTP_Mode | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedInt | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
Element name: StatusSendTime
Description: Defines the time to send the device status (in ms).
Example:
Element name: GUID
Description: Unique GUID assigned to a configuration (be sure when creating new structure this filed to different every time).
Example:
Element name: ServerIP
Description: Defines FTP IP.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
GUIDType
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1
Element name: EncryptPass
Description: This is the FTP password encrypted in the configuration.
Example:
Element name: User
Description: Specifies the user’s name. Can be any name specified by the user for identification.
Example:
Element name: Pass
Description: Defines FTP Password.
Example:
Element name: ConfigurationCheckTime
Description: Defines the time to check for the new configuration.
Example:
Element name: AutomaticFirmwareUpdate
Description: Defines whether the device needs to update the firmware.
Example:
Element name: CONFIG_MOBILE UID
Description: Define Mobile settings for the device.
Sub Element: UseAPN, APN, User, Pass, PIN, GetRealTimeFromMobile, NoCommunicationRestartTimeOut, UsePIN
Example:
Element name: UseAPN
Description: Specifies if APN settings used for mobile connection if it is used or not. It can either be true or false.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
String
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
String
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Element name: FirmwareCheckTime
Description: Defines the time to check for new firmware.
Example:
Element name: User
Description: Defines the user settings for APN, such as, user’s name. Can be any name specified by the user for identification.
Example:
Element name: Pass
Description: Defines the Password settings for APN.
Example:
Element name: GetRealTimeFromMobile
Description: Request time from mobile cell
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Element name: APN
Description:
Example:
Element name: PIN
Description: specifies the PIN for SIM card
Example:
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1
Element name: NoCommunicationRestartTimeOut
Description: After a defined time when there is no activity, the device will try to reconnect.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
-
1
1
Element name: SDINTERFACE_LIST
Description: The SDINTERFACE_LIST element Contains list of all SDINTERFACE blocks. IF SD interface is not configured the logger will not write any data into the eMMC
Sub Element: SDINTERFACE
Element name: UsePIN
Description: Specifies if the PIN has been used or not. Can be true or false.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Element name: SDINTERFACE
Attribute: UID (UID Should be unique for each element, this UID will be referenced in the SD Message element)
Sub Element: MaxLogSize, MaxLogTime, LogFormat, NumberOfLogs, PreLogTime, PostLogTime, IsPostTimeFromEnableStart, IsEnableCreateNewLog, InitialEnableState, EnableUID, DisableUID, PartitionID.
Example:
Element name: BLOCKS
Description:
Sub Elements: SDINTERFACE_LIST, USBINTERFACE_LIST, CANINTERFACE_LIST, CANMESSAGE_LIST, CANERROR_LIST, LININTERFACE_LIST, LINMESSAGE_LIST, DIGITAL_INPUT_LIST, ACCELEROMETER_LIST, GYRO_LIST, GNSSINTERFACE_LIST, GNSSMESSAGE_LIST, INTERNAL_PARAMETER_LIST, SDMESSAGE_LIST, USBMESSAGE_LIST.
Element name: MaxLogSize
Description: Specifies the maximum size for every log file in bytes. When it is reached, the device creates a new log.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
bytes
-
1
1
Element name: MaxLogTime
Description: Specifies the maximum time for every log file in seconds. When it is reached, the device creates a new log.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
sec
-
1
1
Element name: IsPostTimeFormEnableStart
Description: Defines post time start from the start or end of the event. It can be true or false. Check the Triggers section for details.
Example:
Element name: IsEnableCreateNewLog
Description: If a new file has to be created on the EnableUID message, the default value is false. If it is true, this means every time that interface is enabled (from the trigger) a new log is created. It can be used for creating a new log on every event.
Example:
Element name: PostLogTime
Description: (Post trigger time) How many milliseconds to log after a Start logging trigger occur or the time (in ms) that device will store before actual trigger. 0 = Continuous log Check Triggers section for details.
Example:
Element name: NumberOfLogs
Description: Maximum number of logs that device will create. If is set as “0” it means maximum allowed for the device (No restrictions), 1= Only 1 log file
Example:
Element name: PreLogTime
Description: (Pre-trigger time) defines the time duration in milliseconds to log as a Pre-trigger log or the time (in ms) the device will store before the actual trigger. 0= Don’t use pre-trigger. Check the Triggers section for details on how to set triggers.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
PostLogTime | ms | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedInt | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
PreLogTime | ms | - | 1 | 1 |
Element name: LogFormat
Description: Specifies the type of file created during the log process. It can be only InfluxGeneric1.
Example:
Type | Units | Default | MinOcurance | MaxOcurance |
LogFormatType | - | - | 1 | 1 |
Element name: DisableUID
Description: The UID of the block that disables the writing to the SD card (stop logging). If a message is passed from this ID the writing will stop. It can be triggering event. Default value is 0.
Example:
Element name: initiaEnableState
Description: If it is true, it means the device starts logging in from the moment it is powered on. It can be used to stop triggering. If it is false, the device does not log initially and needs to start logging (triggering) events.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
0
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Element name: CANINTERFACE_LIST
Description: The CANINTERFACE_LIST element Contains a list of all CANINTERFACE blocks; if 2 CAN bus is used, there should be two CAN interface sub-element with unique UID and Physical Numbers.
Sub Element: CANINTERFACE UID
Element name: CANINTERFACE UID
Attribute: UID (UID Should be unique for each element); this UID will be referenced in the CANMESSAGE element.
Sub Element: Type, PhysicalNumber, CANBusSpeed, CANFDBusSpeed, CANFDNonISO, TSeg1, TSeg2, SJW, TSeg1FD, SJWFD, SilentMode, Autodetect, WakeUpOption, SleepOption, SleepNoActivityTime, Prescaler, PrescalerFD, UseBitTiming, FilterCount.
Example:
Element name: PartionID
Description: The ID of the partition to write to (used for multi-partitioning if bigger than 0). Define the number of partitions that the log will be stored on. The main partition is always 0. Internal storage must be formatted with partitions. The default value is 0.
Example:
Element name: EnableUID
Description: Unique input ID of a block that will enable (start logging) writing on the SD card (if it’s not writing). It can be a triggering event. The default value is 0.
Example:
Element name: USBINTERFACE_LIST
Description: The USBINTERFACE_LIST element enabled the USB live view interface.
Sub Element: USBINTERFACE
Element name: PhysicalNumber
Description: Specifies the CAN Bus used for the interface i.e. the aActual physical bus of the device.
Example:
Element name: CANFDNonISO
Description: If the Can FD is Non-ISO
Example:
Element name: CANBusSpeed
Description: Defines the Can Bus speed in bps.
Example:
Element name: Type
Description: Define type of CAN bus. It can be classic CAN or CAN FD.
Example:
Element name: CANFDBusSpeed
Description: Defines CAN bus speed (bps) in data transmission phase. It is applicable if CAN is defined as CAN FD.
Example:
Element name: USBINTERFACE UID
Attribute: UID (UID Should be unique for each element), this UID will be used in the USBMESSAGE Element.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
0
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
CAN_InterfaceType | 0: CAN Bus 0 1: CAN Bus 1 | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedInt | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
CAN_InterfaceType | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedInt | - | - | 1 | 1 |
Element name: SJW
Description: CAN timing parameter. Must be filled if UseBitTiming is true.
Example:
Element name: Autodetect
Description: To enable or disable auto detection of CAN Bus speeds. If is set to true device will autodetect CAN bus speed. There must be CAN messages on CAN bus.
Example:
Element name: SleepNoActivityTime
Description: Go to sleep after time (in seconds) if the SleepOption is enabled.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedShort | - | - | 1 | 1 |
Element name: TSeg1
Description: CAN timing parameter. Must be filled if UseBitTiming is true
Example:
Element name: SlientMode
Description: Enables or disables silent mode operation (device will not acknowledge the messages it receives). If is set to true device will go in listen mode and will not transmit CAN data and will not acknowledge CAN messages.
Example:
Element name: SJWFD
Description: CANFD timing parameter. It must be filled if UseBitTiming is true.
Example:
Element name: Prescaler
Description: CAN timing parameter. Must be filled if UseBitTiming is true.
Example:
Element name: UseBitTiming
Description: Used to enable the use of CAN timing settings if true.
Example:
Element name: TSeg1FD
Description: CANFD timing parameter. It must be filled if UseBitTiming is true.
Example:
Element name: TSeg2
Description: CAN timing parameter. It must be filled if UseBitTiming is true.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedByte | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedByte | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedByte | - | - | 1 | 1 |
Element name: WakeUpOption
Description: To specify the WakeUpOption, by default logger is set to No Sleep mode, default value is NO_WAKE_UP.
Example:
Element name: CANMESSAGE_LIST
Description: This element will be used for defining the CAN Messages that are to be handled by the logger. It can be Input messages or output messages.
Sub Element: CANMESSAGE
Type
Units
Default
MinOcurance
MaxOcurance
WakeUpType
-
-
1
1
Element name: MessageIdentStart
Description: Start ident of CAN message. It is used for filtering. If used to LOG ALL messages, the default value should be 0. If filters are defined, mention the start ID for the range. Value is specified in Decimal.
Example:
Element name: IsExtended
Description: Specify if the CAN Message ID is extended or standard.
Example:
Element name: SleepOption
Description: NO_SLEEP, NORMAL_SLEEP, DEEP_SLEEP. Default value is NO_SLEEP.
Example:
Element name: TriggeringMessageUniqueID
Description: Unique input ID for the message that will process the block. Used if CAN message is Output Event.
Example:
Element name: PrescalerFD
Description: CAN FD timing parameter. Must be filled if UseBitTiming is true.
Example:
Element name: FilterCount
Description: Number of CAN hardware filters. The default value is 0.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
-
0
1
1
Type
Units
Default
MinOcurance
MaxOcurance
boolean
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
WakeUpType
-
-
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedShort | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedByte | - | - | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedShort | - | 0 | 1 | 1 |
Element name: CANMESSAGE UID
Description: Used to define the properties of CAN Messages, there can be multiple definitions, and UID should be unique for each definition.
Attribute: UID (UID Should be unique for each element)
Sub Element: MessageIdentStart, MessageIdentEnd, Direction, DLC, IsExtended, InterfaceUID, Period, TriggeringMessageUniqueID, DefaultHex, CANFD_Option, InputMessageUID, Name, isJ1939, J1939Source, J1939Destination, Downsampling, Delay, NextOutputMessageID
Example:
Element name: Period
Description: Defines the period for transmission time. The message must be OutputPeriodic. If the value is bigger than 0 and the direction is OutputPeriodic, the CAN message will be periodically transmitted.
Example:
Element name: DefaultHex
Description: Default HEX value of the CAN message that is going to be transmitted if the direction is OutputPeriodic.
Example:
Element name: MessageIdentEnd
Description: End ident of CAN message. It is used for filtering. If used to LOG ALL messages, the default value should be 4294967295. If filters are defined, mention the END ID for the range. Value is specified in Decimal.
Example:
Element name: J1939Destination
Description: defines the J1939 destination filtering address.
Example:
Element name: DLC
Description: The DLC of the CAN message.
Example:
Element name: Direction
Description: Defines the direction of the CAN message. It can be Input, OutputEvent and OutputPeriodic. The default direction is Input (Input is RX CAN, Output is TX CAN).
Example:
Element name: isJ1939
Description: Specifies if the CAN message is used for the J1939 filter (true, false).
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
hexBinary
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
-
4294967295
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
DirectionType
-
Input
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
boolean | - | - | 1 | 1 |
Element name: J1939Source
Description: Defines the J1939 source filtering address
Example:
Element name: Downsampling
Description: Use if the message is to be down-sample the CAN data, the value is specified in milliseconds. If down-sampling is not used default value should be 0.
Example:
Element name: CANFD_Option
Description: Specifies the type of CAN message, which can be NORMAL_CAN, FD_CAN, FD_FAST_CAN.
The default value is NORMAL_CAN.
Example:
Element name: InterfaceUID
Description: it is a unique ID to the CAN interface block. Specify the CAN Interface UID to link to this CAN Message.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedByte
-
-
1
1
Type
Units
Default
MinOcurance
MaxOcurance
unsignedInt
ms
0
1
1
Type | Units | Default | MinOcurance | MaxOcurance |
CAN_FD_MessageType | - | NORMAL_CAN | 1 | 1 |
Type | Units | Default | MinOcurance | MaxOcurance |
unsignedShort | - | - | 1 | 1 |
Element name: InputMessageUID
Description: Unique input ID for input block link to a CAN message. To be used if this message receives Input from another message. The default value is 0.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
unsignedShort
-
-
1
1
Element name: Name
Description: Name of the CAN message. Used for reference post-processing.
Example:
Type
Units
Default
MinOcurance
MaxOcurance
string
-
-
1
1