Is it possible to export the information from a table as a pdf? I have been able to do this only to .csv format.
Could I export a csv file to pdf from Perspective?
Have you tried creating a report and using the same binding on the report table as on your Perspective table?
https://docs.inductiveautomation.com/display/DOC80/Reporting+in+Perspective
https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Report+Viewer
As @Transistor notes, the reporting module is the tool Ignition uses to make PDF files. It is the only native way for Ignition to make PDF files. It does not accept Perspective graphics as source material–you have to design a report from scratch.
We have not bought the report viewer module, so we will not be able to use it.
Is there any library that I can use like “pandas” to convert from csv to pdf? I still haven’t found a way to put a library in Ignition.
Thanks for answering!
Some python libraries can be used in Ignition. There are fundamental differences between Jython and CPython that prevent many popular libraries from being used. I'm not sure about pandas.
But start here, and follow through to the Knowledge Base:
If the library isn’t available in jython and therefore Ignition, you can still shell out to run a file with arguments via system.util.execute
(or subprocess
or ProcessBuilder
) to directly run a CPython file as well (assuming that the gateway computer has CPython on it).