LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview to kml

i have a vi  that convert to kml  ,

there is something wrong i want to have the time out of the file  , wich it does only not in the right field it displays as a value 

But the kml need some thing specific  format   something like this

 <TimeStamp>
        <when>2007-01-14T21:05:02Z</when>
      </TimeStamp>

 

 

and mine data is like this

 

 <Data name="val">
        <value>17:22:33.751</value>
      </Data>

 

i have really no in depth know how                         to solve this some one who knows how?

 

 

 

0 Kudos
Message 1 of 12
(5,004 Views)

What is "kml"?

 

Do you mean XML?

0 Kudos
Message 2 of 12
(4,994 Views)

see cees10 previous post here

 

and a quick search in the forum regarding kml leads to this thread

0 Kudos
Message 3 of 12
(4,985 Views)
So then it really is XML.  Just Google in all their infinite wisdom decides to corrupt the name of the extension for their own purposes.
0 Kudos
Message 4 of 12
(4,982 Views)
The problem is that LabVIEW doesn't make writing XML easy.  Here's an example showing how to use EasyXML (a tookit for LabVIEW from JKI) to write a KML file.
0 Kudos
Message 5 of 12
(4,957 Views)
Post the VI and receive more indept help on the problem.
Regards,
André (CLA, CLED)
0 Kudos
Message 6 of 12
(4,944 Views)
here the VI as requested
0 Kudos
Message 7 of 12
(4,912 Views)
The values as indicated in the initial post are not written or composed in the posted VI.
Regards,
André (CLA, CLED)
0 Kudos
Message 8 of 12
(4,902 Views)

well andre   this is written from this VI  (exceot the value of course 17:22:33.751 ) becuase this was read out of the file that was selected and the file is a normal text file   with data  and headers that indicate the signal name

 

 <Data name="val">

        <value>17:22:33.751</value>
      </Data>

  

0 Kudos
Message 9 of 12
(4,898 Views)
In that case please post the kml_llb.llb file instead and a data file. This allows us to reproduce your result and suggest changes.
Regards,
André (CLA, CLED)
0 Kudos
Message 10 of 12
(4,872 Views)