User’s Manual – PGT
®
130.DT
Part No.: 7100.PGT130.DT
Page 20 / 21
V12/2020
Interface 2 - CSV
Exported data in CSV can directly be opened with spreadsheet programs, i.e. MS-Excel.
Differences to Interface 1:
·
Field separation character is Semicolon
·
All fields are quoted with double quotes
·
If no data is present, then erg is set to "0" and msg is set to "no data"
·
Number code (Button released too early) "-10" replaced by 'MTF' (Measuring Time Failure)
·
If erg is "OK" then the field msg is set to "OK" as well
·
OVR and UNR is suppressed, this filed is empty for over-range or under-range conditions
URL
--------
http://<ip-address>/cgi-bin/pgt120-data.cgi?fetch=2
0 Records:
"2011-01-19";"16:53";"";"";"";"";"0";"no data";"";"";""¶
1 Record:
"2011-01-19";"16:53";"";"";"";"2786";"256";"UserID missing";"";"20.1";"34.0"¶
Several Records:
"2011-01-19";"16:53";"";"";"";"2786";"256";"UserID missing";"";"20.1";"34.0"¶
"2011-01-19";"16:53";"";"";"";"";"258";"Wrist strap Hi-Fail; UserID
missing";"";"20.1";"34.0"¶
"2011-01-19";"16:53";"";"";"";"2786";"OK";"OK";"";"20.1";"34.0"¶
Meaning:
date|time|rsg|rsl|rsr|rhg|erg|msg|id|tmp|hum
Field label
Description
Format
1 date Date of Measurement
2011-01-19
2 time Time of Measurement
16:53
3 rsg
Result Shoes in Series (kOhm) Integer
4 rsl
Result Shoe left (kOhm)
Integer
5 rsr
Result Shoe right (kOhm)
Integer
6 rhg
Result Wrist Strap (kOhm)
Integer
7 erg
'OK' or ErrorCode
Number or String (see below)
8 msg
Terminals Message text
String (see below)
9 id
User-ID
RFID-Reader data
(Filter: ASCII 32-127, max. 30 digits)
10 tmp
Temperature at measurement
20.1
11 hum
Humidity at measurement
34.0
ErrorCode Message text (EN / DE)
erg
msg
OK
= OK
0
= no data
1
= Wrist strap Lo-Fail / Handgelenkband Lo-Fail
2
= Wrist strap Hi-Fail / Handgelenkband Hi-Fail
4
= Left shoe Lo-Fail / Linker Schuh Lo-Fail
8
= Left shoe Hi-Fail / Linker Schuh Hi-Fail
16
= Right shoe Lo-Fail / Rechter Schuh Lo-Fail
32
= Right shoe Hi-Fail / Rechter Schuh Hi-Fail
64
= Measuring voltage failure / Fehlerhafte Messspannung
128
= Press longer / Länger drücken
256
= UserID missing / UserID fehlt
512
= Unauthorized user / Unberechtigt
1024
= Service access / Service Zugang
2048
= Wrong Measurement / Falsches Messprofil
MTF
= Button released too early / Tastblech zu früh losgelassen
If several errors occur the error numbers are added.
Message text is language dependent (Adjust the language in system settings)