How to implement multiple data outputs #1044
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Just to confirm I can reproduce the issue you're seeing. Although as per @bcoconni's recent work on XML validation he mentions that multiple |
Beta Was this translation helpful? Give feedback.
-
Ah, the XML file you created isn't a valid XML file in general. A single top-level element is required. https://stackoverflow.com/questions/14388122/multiple-xml-elements-in-the-same-xml-file |
Beta Was this translation helpful? Give feedback.
-
In addition you should be able to supply as many output files to JSBSim.exe --realtime scripts/c1723.xml data_output/flightgear.xml data_output/flightgear2.xml For your problem you can create 2 files, one containing <?xml version="1.0" encoding="utf-8"?>
<output name="localhost" type="FLIGHTGEAR" protocol="UDP" port="5550" rate="60" version="24">
</output> and the other file containing <?xml version="1.0" encoding="utf-8"?>
<output name="localhost" type="FLIGHTGEAR" protocol="UDP" port="5550" rate="60" version="24">
</output> and use them as suggested above. |
Beta Was this translation helpful? Give feedback.
In addition you should be able to supply as many output files to
JSBSim.exe
as you like. Say you have 2 output filesdata_output/flightgear.xml
anddata_output/flightgear2.xml
then you can use the following command line:For your problem you can create 2 files, one containing
and the other file containing
and use t…