cancel
Showing results for 
Search instead for 
Did you mean: 

labview to kml

cees10
Member

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?

 

 

 

11 REPLIES 11
RavensFan
Knight of NI

Re: labview to kml

What is "kml"?

 

Do you mean XML?

Mathan
Trusted Enthusiast

Re: labview to kml

Message contains a hyperlink

see cees10 previous post here

 

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

RavensFan
Knight of NI

Re: labview to kml

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.
Jim_Kring
Trusted Enthusiast

Re: labview to kml

Message contains a hyperlink
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.
andre.buurman@carya
Active Participant

Re: labview to kml

Post the VI and receive more indept help on the problem.
Regards,
André (CLA, CLED)
cees10
Member

Re: labview to kml

Message contains an attachment
here the VI as requested
andre.buurman@carya
Active Participant

Re: labview to kml

The values as indicated in the initial post are not written or composed in the posted VI.
Regards,
André (CLA, CLED)
cees10
Member

Re: labview to kml

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>

  

andre.buurman@carya
Active Participant

Re: labview to kml

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)