Import excel data into TwinCat3 - plc

I want to enter large amount of data in twincat3 as an array.
I have 6000*2 matrix(one column as time and other one is value corresponding of function).
I read this link of Beckhoff but it was a bit hazy for me. I'm looking for a simple example of how to load and use excel data in twincat3.
any help would be appreciated.

The link you included references the TF6429 Connectivity module. Here's a link to the documentation for that module. The specifics are in the documentation. As an FYI - the minimum steps you'll need to take are:
Download that module
Add it as a new TwinCat Connectivity project to your solution.
Add your excel sheet as a database connection.
Refer to chapter 6 of the documentation for PLC API instructions.
Best of luck!

Related

Can we integrate XLSX and Syncfusion Library with LWC

We have some custom requirement to export our data into excel with custom and conditional cell styling. We have explored two libraries (xlsxjs and syncfusion) and would like to know whether it is compatible with salesforce Lightning Web Components.
Please suggest if there is any other way to achieve the same without the mentioned libraries.
PFA sample of expected excel file on export.
Greetings from Syncfusion.
It is possible to create Excel document using Syncfusion XlsIO similar to the shared screenshot.
But you have mentioned that you are exporting data to Excel, and we request you to share the below details.
Platform you are using
Control you are using to export data to Excel.
It would be helpful for us if you could share these details, so that we will check the compatibility from our side.
You can also mail the requested details to support#syncfusion.com
I work for Syncfusion.
Regards,
Mohan.

tiki-wiki: How to batch import categorized articles from a CSV file

Importing categories as a CSV file is OK in tiki-wiki, But how to import categorized articles to the system. Tiki supports media wiki and word press importing, While my data base has another format.
Is there any module for CSV upload/import?
Is there any flexible migration-like script to import articles?
In case that both of answers are NO, would you please give me a clue to write down the proper code to import articles directly to data base.
I went through understanding database, But I think accessing to database directly should be my last choice!
For custom import jobs, you can use Tiki's profiles. The profiles are a YAML-based format. While it is not the primary use for them, it might be the easiest way to perform what you want to do.
Normally, you need to place the profile in a repository to execute it, but there is a developer option to load content from a textarea. You can simply prepare your YAML definition and paste it in there.
Categorizing elements through the database could be harder than it seems as many tables are involved.

PDF generation from templated Word documents

I have a Word document(some template format) where it containing some placeholders for the data to be filled in and there are several Word documents like this which lies in some directory. When data comes I will be choosing different templates (based on some criteria) and fill the data and the documents have to be converted to PDF format.
I have been investigating Apache POI for this. If anyone has a good suggestion, it would be much appreciated.
As mbeckish mentioned you should indicate how you are going to run/automate this. For example is it one-off, run by hand or part of another program (and if so what programming languages do you use)?
If you are trying to automate it JODReports and Docmosis are tools that can use templates like you require and can produce PDF. JODReports is free. Docmosis is not but has several APIs. Please note I work for the company that develops Docmosis.
Hope that helps.
I've just uploaded this presentation, which presents three approaches for doing this.
Why not use any of existing PDF virtual printers?

How to use Offline Cloudmade Maps in an iPhone App

I’ve looked through the posts on the Cloudmade site here and I get some of it, but not all. I've posted the question below, but haven't had the help I need, so I thought I'd ask the question here.
I can see that I need to:
download the tiles for the required area to my Mac (but can’t see how to do this)
convert these to a sqlite database using the map2sqlite utility, changing the code to output the tiles to a table called “ZCACHE”, not “tiles”
Copy the DB to the Application Bundle
insert some code to copy this DB on first run, from the Application Bundle to the Documents Directory
Somehow get App to use this DB and not an online one – I can’t see how that’s done.
Any help would be warmly welcomed,
Chris.
The best solution for me to have iPhone offline maps is:
1.- Generate your own maps with TileMill and then export to MBTiles format.
2.- Get the mbtiles-ios-example and use the MBTiles file you just generated. In order to compile it, you need to download Route-Me and add it to the project.
Now, there is another option (not for free): Mapbox.
please check this tutorial, it can help - http://www.gisnotes.com/wordpress/category/sqlite3/.

Can Crystal Reports generate documents in PDF/A file format?

We are looking for a solution to generate documents in PDF/A format for sharing and also archiving purpose.
I checked the description of ExportFormatType.PortableDocFormat, however it just say PDF file.
Can the Crystal Reports generate PDF/A compatible files?
I don't think you export directly to PDF/A. Instead, I recommend using Crystal to export to PDF, then find a third-party software to convert your PDF to PDF/A. It takes 1 extra step, but it will meet your needs.
I googled a bit and found http://www.abbyyusa.com/shop/pdftransformer/. I know nothing about this software, I'm just presenting it as an example. It costs 80USD, but you might be able to find a freeware alternative.
http://www.pdfa.org/doku.php is the offical homepage of PDF/A. You might find something useful there too.
According to this SAP community thread from a few days ago, it can't be done natively, although there was a third-party component mentioned there. I haven't tried it, so I have no idea if it works or not.