nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

MATLAB issue with NaNs in jsonext #207

Open nthallen opened 5 months ago

nthallen commented 5 months ago

JSON records sent by jsonext like the following:

{
  "Record": "agnteng_1",
  "Tagnteng_1": 1708094758.667,
  "AgCount": 10,
  "AgDevStale": 0,
  "AgDrvStale": 2,
  "CPU_Pct": 0.00,
  "Disk": 56.50,
  "R1": 23.39,
  "R2": 23.26,
  "R3": 23.31,
  "R4": 23.28,
  "R5": 23.24,
  "R6": 23.13,
  "R7": 23.39,
  "R8": "",
  "SysTDrift": -0.916,
  "memused": 4.03
}

Produce MATLAB:hg:shaped_arrays:LimitsWithInfsType complaint and apparently reject the entire record. Removing R8 from the genui input resolves the problem.