04-12-2019 08:29 AM
Hi , I have configured my ARINC 429 Tx and Rx program using F-SIM software and saved as XML file also Bin file.
Now I want open this file in Labview and run the program. Please advise how to do this ?
I am new for the Lab view and trying with a simple program.
04-12-2019 09:07 AM
It depends a bit on what you want from the data, how the XML data is formatted, and the size of the files.
Reading the file as text is easy, and you can often parse the XML with plain text functions (Match Pattern, Scan From String and Match Regular Expression).
If the XML is more complex, you can use the build in XML functions. They are not that intuitive though.
If the files can grow big (10ths or 100ths of megabytes), you might want to parse the file in small blocks, to prevent loading the entire file in memory at once.
04-12-2019 02:40 PM
Fortunately, the XML file is less than two dozen lines and seems to define two channels, channelNumber 1 as a TX channel and channelNumber 2 as an Rx channel. The sub-fields don't mean much to me, but probably would to you (since you know what parameters go with which channel).
Bob Schor