Hello all!
I am very new at this and need some help. I need to take the results from the OBX5 segment and write it to a text file. The number of OBX segments can vary on each report. I have tried several different ways but I can only seem to get it to write the first line. I am sure its probably something simple but I just don't have enough knowledge yet to figure out what I am doing wrong. I am using version 2.2.3 and here is my code. If someone could help, that would be great. I just want to write it to a file called result info.
var i=0;
var resultinfo="";
var resultinformation=tmp['OBX'][i]['OBX.5']['OBX.5.1'].toString();
for (i=0;i<resultinformation.length;i++) {resultinfo=resultinformation[i];
}
I am very new at this and need some help. I need to take the results from the OBX5 segment and write it to a text file. The number of OBX segments can vary on each report. I have tried several different ways but I can only seem to get it to write the first line. I am sure its probably something simple but I just don't have enough knowledge yet to figure out what I am doing wrong. I am using version 2.2.3 and here is my code. If someone could help, that would be great. I just want to write it to a file called result info.
var i=0;
var resultinfo="";
var resultinformation=tmp['OBX'][i]['OBX.5']['OBX.5.1'].toString();
for (i=0;i<resultinformation.length;i++) {resultinfo=resultinformation[i];
}
Looping thru OBX
0 commentaires:
Enregistrer un commentaire