Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

how can I log data as an xml file?

For general discussion related FlowStone

how can I log data as an xml file?

Postby Subquantum » Sat Sep 27, 2014 10:59 pm

Is there a way to log data as an xml file like in labview or matlab?

This would be a great function that is commonly used in science and engineering because with excel you can quickly make charts and histograms to publish acquired data.
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA

Re: how can I log data as an xml file?

Postby Exo » Mon Sep 29, 2014 10:56 pm

This would be handy yes. But there is no built in way to write xml files.

Of course it could be done but would have to be written from scratch and for speed would probably be best to write a dll for that.

If I had the time I would have a go because I need reading and writing xml files for a future project but I am very thinly spread at the moment so really haven't the time.
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK

Re: how can I log data as an xml file?

Postby tulamide » Thu Oct 02, 2014 10:55 pm

Exo wrote:Of course it could be done but would have to be written from scratch and for speed would probably be best to write a dll for that.

There is a ruby solution already written from scratch. I didn't have the time to test it, but it seems to be usable with Flowstone's Ruby. Might give a bit of work to correctly place the files and folders (since gem install is not directly supported by FS). Give it a try:

Basic description including a short sample code
Tutorials
GitHub download

EDIT: Here's a simpler download via RubyGems: https://rubygems.org/gems/nokogiri
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: how can I log data as an xml file?

Postby Subquantum » Sun Oct 05, 2014 7:13 am

Exo and tulamide,

Thank you both for your replies. I will take a close look at Nokogirgi. Hopefully it works for my needs.
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA


Return to General

Who is online

Users browsing this forum: No registered users and 94 guests