cts5_decode: Use NKE routine to decode .hex data files

View source: R/CTS5_USEA.R

cts5_decodeR Documentation

Use NKE routine to decode .hex data files

Description

call apmtdecoder.exe routine to decode .hex data files and create NKE .csv ASCII files.

Usage

cts5_decode(
  floatname = "",
  CycleNumber,
  PatternNumber = 1,
  sensors = CTS5_supported_sensors,
  subdir = ".",
  Nke_ProgPath = ""
)

Arguments

floatname

hexa name of the float. If "", the floatname will automatically found.

CycleNumber

numeric : number of the cycle to decode

PatternNumber

numeric : number of the Pattern to decode

sensors

list of sensor to decode. From the list CTS5_supported_sensors

subdir

subdir where to put .csv ASCII files

Nke_ProgPath

path to the nke decoder (APMTDecrypt.exe or Decoder). This path is stored to Sys.getenv("USEAR_Nke_ProgPath"). For Linux, if the Decoder path is in the .bashrc, you can leave this parameters empty.

Details

this function must be call in the directory where are .hex files

Value

No return. This function create ASCII files in the subdir directory

Examples

cts5_decode(CycleNumber=c,PatternNumber = p,subdir="./CSV")



EdLeymarie/USEA_R documentation built on July 16, 2025, 1 p.m.