0
Items : 0
Subtotal :  0.00
View CartCheck Out
Chennai
Chennai
Singapore
Mumbai
Switzerland
+91 44 4091 2000 Mon - Fri 09:00 - 18:30 766/1, TEZ, Sakthi Towers 1, Anna salai, Chennai 600 002.
+6584181583 Mon - Fri 09:00 - 18:30 68 Circular Road, #02-01, 049422, Singapore.
+91 98848 35702 Mon - Fri 09:00 - 18:30 5, Powai Lake Heights, Mumbai 400 072
+41 (0)91 225 81 00 Mon - Fri 09:00 - 18:30 Equvera - ISV Techno SAGL, Via Ligornetto 6A, 6855 Stabio, Switzerland
Ceritified
ISO 9001:2018
The Best
#1 in India
#1 in Europe
#1 in Asian-pacific
Number #1
AUTOMATION SOLUTION PROVIDER
Talk to an Expert
0
Items : 0
Subtotal :  0.00
View CartCheck Out

Write data to an XLS file without Microsoft Excel installed

WRITE DATA TO AN XLS FILE WITHOUT MICROSOFT EXCEL INSTALLED

Task:

I have a piece of equipment that transmits serial data to a terminal program. Can the data be sent directly to Excel?

Requirements:

  • Local database

It is assumed that:

You’ve prepared parser items for export.

For this tutorial, all items were prepared in the previous part.

Also, you could look at some other examples of data parsing(different parser types).

Solution:

All parser items are now ready for export to an Excel spreadsheet. Please, open the configuration window of the “Local database” plugin (fig.1 and 2).

Local Database plugin

Fig.1. Local Database plugin.

Excel export. Selecting a database.

Fig.2. Excel export. Selecting a database.

  • Select a database type in field #1.
  • Specify a path for all CSV files in field #2.
  • Specify a file name prefix in field #3.

All other options are optional. On the second “Data formats” page, you can specify a representation of your data. Because all our variables have the “string” data type, it is unnecessary to change format settings.

On the next “Columns order” page, you can specify how variables will be exported to a spreadsheet. Suppose you do not specify a column’s order number. In that case, the program will write all variables in the following order: internal variables (FULL_DATA_PACKET, DATA_PACKET, and DATE_TIME_STAMP), parser variables, in the order, as you’ve specified in the parser configuration.

RELATED ARTICLES: WRITE DATA TO AN XLS FILE WITHOUT MICROSOFT EXCEL INSTALLED