how to export measurements

Requests or suggestions for new features
Post Reply
curka
Posts: 62
Joined: 16 Apr 2013, 19:57

how to export measurements

Post by curka »

How can i export measurements in V-rep?

coppelia
Site Admin
Posts: 10361
Joined: 14 Dec 2012, 00:25

Re: how to export measurements

Post by coppelia »

Hello,

you have several possibilities. You can record values via graphs, then export the graph 2D curves via a popup menu in a 2D graph view.

But for more flexibility, I would suggest you simply write a file with your values via a child script. This is an example for a text file:

Code: Select all

local file=io.open("example.txt","w")
file:write("Hello. ")
file:write("How are you?")
file:close()


and here an example for a binary file:

Code: Select all

local file=io.open("example2.txt","w")
file:write(string.char(42))
file:close()
Cheers

curka
Posts: 62
Joined: 16 Apr 2013, 19:57

Re: how to export measurements

Post by curka »

thank you :)

Post Reply