O'Reilly logo

LabVIEW Graphical Programming Cookbook by Yik Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with XML files

Extensible Markup Language (XML) files store information in such a way that is both human and machine readable. In LabVIEW, there are many ways to work with XML, and this recipe presents a way to modify a value in an XML file.

How to do it…

In this example, we will create an XML file based on data of different people and write a LabVIEW application to modify a user-selected parameter in the file. This application comes in handy when you need to modify the same parameter on a thousand XML files. In that case, the application can be executed in a loop for all the files.

  1. Create an XML file manually. The data for each person fall under student id. The name, gender, age, and company details for each person are recorded in the file. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required