TQ Tool - RIO Transmit Queue File Viewer

View, analyze, and send records from RIO TQ files with full TLOG and Non-TLOG support

About the TQ Tool

The TQ Tool is a comprehensive viewer and testing utility for RIO Transmit Queue (TQ) files. It allows you to inspect individual records in TQ files, view parsed TLOG transactions, analyze EPSLOG data with field-level details, and send records directly to your RIO Server for testing. Supports all TQ record types: TLOG (999), Non-TLOG (996), EPSLOG (995), and TAX (994).

What are TQ Files?

RIO Transmit Queue (TQ) files contain queued records waiting to be sent to the RIO Server. Each record in a TQ file has a standardized 24-byte header followed by variable-length payload data. TQ files can contain multiple record types:

MsgType Name Description
999 TLOG IBM/Toshiba transaction log records (binary TLOG data)
996 Non-TLOG Generic non-transaction data (configuration files, reports, etc.)
995 EPSLOG EPS (Electronic Payment System) log records with FID-based fields
994 TAX Tax configuration data (alternating key/value pairs)

TQ File Format (24-Byte Header)

Every record in a TQ file begins with a standardized 24-byte header:

Field Size Type Description
VLI 2 bytes LE Uint16 Variable data length (payload size in bytes)
MsgType 2 bytes LE Uint16 Message type (999=TLOG, 996=Non-TLOG, 995=EPSLOG, 994=TAX)
DtCollected 12 bytes ASCII Collection timestamp (YYMMDDhhmmss format)
Flags 1 byte Bitflags 0x01=First Partial, 0x02=Middle Partial, 0x04=Last Partial, 0x08=CRC Present, 0x10=SubHdr Present
CRC 4 bytes LE Uint32 CRC4690 checksum for payload data (if flag 0x08 set)
Filler 3 bytes - Padding (ignored)

Key Features

File Upload & Parsing

Drag and drop or select RIO TQ files for instant parsing. TLOGic automatically:

Record List View

Browse all records in the TQ file with a comprehensive list showing:

Search & Filter Records

Quickly find specific records using powerful filter syntax:

Detailed Record View

Click any record to view comprehensive details in expandable sections:

Record Type Parsing

TLOG Records (MsgType 999)

TLOG records contain binary IBM/Toshiba transaction data. The TQ Tool:

Tip: TLOG records in TQ files are complete transaction records, not fragments. You can view the full transaction structure just like you would with a standard TLOG file.

Non-TLOG Records (MsgType 996)

Non-TLOG records contain generic data like configuration files, reports, or custom data. The TQ Tool:

EPSLOG Records (MsgType 995)

EPSLOG (Electronic Payment System Log) records use a sophisticated FID-based format with 204 defined fields. The TQ Tool provides comprehensive parsing:

EPSLOG Header Parsing

The TQ Tool parses the complete EPSLOG structure:

EPSLOG FID Table Display

Each FID (Field ID) is displayed in a comprehensive table with:

Column Description
FID Field ID in hex format (e.g., 0x42)
Field Name Human-readable name (e.g., "TotalAmount", "Track2", "XMLUserDataRequest")
Type Data type badge: A (ASCII), H (Hex), P (BCD), I (Integer), C (Character)
Value Type-specific formatted value (see formatting below)
Raw Hex Complete hex representation of field data

Type-Specific Field Formatting

Type Description Example
A ASCII - Printable text, null-terminated, XML preserved <HighRiskItemsPresent>true</HighRiskItemsPresent>
H Hex - Binary data as hex string A1 B2 C3 D4
P BCD - Binary Coded Decimal to numeric string 12345 from 12 34 50
I Integer - Little Endian 1/2/4-byte integer, amounts formatted as currency $46.60 from raw value 4660
C Character - Single character with hex value or just hex for non-printable 'X' (0x58) or 0x00
Supported EPSLOG Fields: The TQ Tool recognizes all 204 standard EPSLOG fields including MessageType, Terminal, TransactionNumber, TotalAmount, Track2, EMVTagData, XMLUserDataRequest, and many more. Unknown FIDs are displayed as "Unknown" with best-effort interpretation.

TAX Records (MsgType 994)

TAX records contain tax configuration data stored as alternating key/value pairs. The TQ Tool:

Sending Records to RIO Server

Testing Feature: The TQ Tool allows you to send individual records or batches directly to your RIO Server for testing. This is useful for validating server behavior with specific TQ file data.

Sending Options

The TQ Tool provides multiple ways to send records:

RIO Configuration

Click the Config button to set up your RIO Server connection:

Setting Description
Service URL Your RIO Server endpoint (e.g., https://rio.example.com/trickle/file)
Store Number Store number to use in RioRequest messages
Division Division code for RioRequest
Format Format identifier (defaults to 'GENERIC' if not in SubHeader)
UTC Offset Timezone offset (e.g., -05:00)
Basic Auth Optional username/password for HTTP Basic Authentication

Send Results & Tracking

After sending records, the TQ Tool displays detailed results:

Export Features

Export Options

Common Use Cases

Debugging RIO Integration

  • Inspect exact record structure sent to RIO Server
  • Validate CRC checksums
  • View SubHeader properties (ftype, fname, totrecs)
  • Send problematic records individually to isolate issues

Testing Specific Scenarios

  • Filter to specific MsgTypes for targeted testing
  • Test EPSLOG payment records with XMLUserDataRequest
  • Validate TLOG transaction parsing
  • Test partial record handling

Data Validation

  • Verify all records have valid CRC checksums
  • Check for missing or corrupted SubHeaders
  • Validate EPSLOG FID data formatting
  • Ensure proper timestamp formatting

Analysis & Exploration

  • View distribution of MsgTypes in TQ files
  • Analyze payload size statistics
  • Explore EPSLOG field usage (which FIDs are present)
  • Examine date ranges and collection patterns

Best Practices

Tips for Success
Important Notes