Export To Excel

Export To Excel

dangtrang
Contributor Contributor
440 Views
3 Replies
Message 1 of 4

Export To Excel

dangtrang
Contributor
Contributor

Hi there,

 

We are working on a project that requires exporting results into an excel sheet. Could anyone in this forum please give us an example showing how to use Lua scripts in Stingray to read/write an excel file.

 

thank you all in advance.

 

 

Reply
Reply
0 Likes
441 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Dan, to import/export to excel you can use a csv file format.

 

Stingray uses LuaJit, so I believe that it is possible to use some Lua API to do it for you.

 

I am not a specialist and I didn't try anything like this before, but googling it I found a possible solution at: http://stackoverflow.com/questions/1565838/using-lua-for-working-with-excel

and : https://github.com/bungle/lua-resty-libxl 

 

The last one specific to LuaJIT that it is used by Stingray.

 

 

In youtube there are some videos explaining the integration between LuaJIT and Stingray. 

 

BR,

 

Reply
Reply
Message 3 of 4

Anonymous
Not applicable

Dan, there is a post that shows you howto inport CSV files ( that are accepted by Excel ) into stingray.

 

http://forums.autodesk.com/t5/stingray-general-content/importing-csv-data-into-stingray/td-p/6404400

 

Check it and see whatever it helps you or not.

Reply
Reply
Message 4 of 4

dangtrang
Contributor
Contributor

Hi Guil,

 

thanks for your suggestions. I will consider them right now 🙂

 

Best regards

Reply
Reply
0 Likes