Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. It indeed is very complicated. In your example, the parsed cluster didnt capture <field name="Channel" datatype_id="3726" datatype_name="AnalogDataChannelT"> <value alt_value="RA_200" value="0"></value> </field> Is there a method to this madness, how did you create the cluster by looking at the xml code. Is there somewhere I can read up on this stuff? All I care for in the entire XML file is the Channel field and the analog data that comes with every channel. Were you able to look at the entire XML file? You can search for the tag <analog_data_samples> to find out where the raw data is stored in the file.
  2. I did post it on NI's forum since they dont have a size limit. Here is another question: from the examples provided with JKI EasyXML it seems like that if I have a Cluster control setup in Labview that corresponds to the Data in XML then the JKI routines can populate that cluster. Is that assumption correct. If it is, then how will a corresponding Cluster look like for following code? <structure> <field name="Header" datatype_id="5171" datatype_name="HistDataStreamHeaderT"> <structure> <field name="StreamStartLRTS" datatype_id="3815" datatype_name="LowResSyncTimestamp"> <value alt_value="0x97C" value="2428"></value> </field> <field name="StreamEndLRTS" datatype_id="3815" datatype_name="LowResSyncTimestamp"> <value alt_value="0x9A0" value="2464"></value> </field> <field name="StreamDataType" datatype_id="4993" datatype_name="StreamDataTypeT"> <value alt_value="STREAM_ANALOG_DATA" value="0"></value> </field> <field name="NumberOfBlocks" datatype_id="3701" datatype_name="UnsignedInteger"> <value alt_value="0xB" value="11"></value> </field> <field name="StartBlockID" datatype_id="4066" datatype_name="MemoryBlockIDT"> <value alt_value="0" value="0"></value> </field> <field name="StreamRequestorList" datatype_id="4306" datatype_name="(UnsignedInteger)[1]"> <collection datatype_id="3701" datatype_name="UnsignedInteger"> <element index="0"> <value alt_value="0x1" value="1"></value> </element> </collection> </field> <field name="PrevStreamHeaderBlkID" datatype_id="4066" datatype_name="MemoryBlockIDT"> <value alt_value="0xFFFF" value="65535"></value> </field> <field name="NextStreamHeaderBlkID" datatype_id="4066" datatype_name="MemoryBlockIDT"> <value alt_value="0x1" value="1"></value> </field> <field name="SubHeader" datatype_id="5105" datatype_name="DataStreamSubHeaderT"> <structure> <field name="AnalogStreamSubHeader" datatype_id="5037" datatype_name="AnalogStreamSubHeaderT"> <structure> <field name="Channel" datatype_id="3726" datatype_name="AnalogDataChannelT"> <value alt_value="RA_200" value="0"></value> </field> <field name="NumberOfSamples" datatype_id="3701" datatype_name="UnsignedInteger"> <value alt_value="0x11F6" value="4598"></value> </field> <field name="SyncTimestamp" datatype_id="3847" datatype_name="SynchTimestamp"> <value alt_value="0x7C36" value="31798"></value> </field> <field name="BytesPerSample" datatype_id="3701" datatype_name="UnsignedInteger"> <value alt_value="0x1" value="1"></value> </field> <field name="TicsPerSample" datatype_id="3701" datatype_name="UnsignedInteger"> <value alt_value="0x2" value="2"></value> </field> <field name="CompressionScheme" datatype_id="4421" datatype_name="DataCompressionSchemeIDT"> <value alt_value="FIRST_ORDER_DIFF_AND_HUFFMAN" value="1"></value> </field> </structure> </field> </structure> </field> <field name="Crc" datatype_id="4059" datatype_name="CrcT"> <value alt_value="0xDFD277B3" value="3755112371"></value> </field> </structure> </field>
  3. I have been provided with an XSD file and an XML file with the some Data that I am interested in. How do I use the XSD file with EasyXML toolkit to extract the data. The data is buried in various layers of the file so if I can use the XSD file somehow it will really help me out. I am completely novice to XML so it may sound very basic. Any help will be appreciated.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.