Skip to content

How to implement multiple data outputs #1044

Answered by bcoconni
NineSwords-Z asked this question in Q&A
Discussion options

You must be logged in to vote

In addition you should be able to supply as many output files to JSBSim.exe as you like. Say you have 2 output files data_output/flightgear.xml and data_output/flightgear2.xml then you can use the following command line:

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 t…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@NineSwords-Z
Comment options

Answer selected by NineSwords-Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants