top of page

Automating Data Acquisition from PDF

IoT | MES | SCADA | InDriver | Industry40 | Automation | SmartFactory | DataIntegration

Does your company struggle with processing data from PDF files? 🤔

The InDriver platform from inalytics.io is a powerful tool for automating data acquisition — even from PDF files! 📂➡️💾

 

With InDriver, you can:

✅ Automatically extract content from PDF files, such as batch records generated by production machines. 

✅ Process data from files (PDF, XML, TXT) and log them to SQL databases in JSON format.

✅ Monitor network directories for new files. 

✅ Exchange data via multiple interfaces available in InDriver: 

🔹 OPC UA (Client/Server) – Integration with industrial systems 

🔹 REST API, SQL API, SMTP API – Communication with IT systems 

🔹 ModbusAPI, SocketAPI, SerialPortAPI – Connectivity with shop-floor devices

 

📈 Business Case Example:

“A pharmaceutical manufacturer reduced reporting time by 80% through batch record automation.”

 

🛠️ InDriver's code is simple and flexible. Here’s an example of reading a PDF file and saving its content to a SQL database in JSON format:

InDriver.import("PdfApi");

PdfApi.setCodec("ISO 8859-2");

// Open the PDF document PdfApi.load('c:\\FilesFolder\\batch_record.pdf'); 

 

let pdfText = PdfApi.pageText(0); // Load the first page 

// Process pdfText or load additional pages 

// Insert PDF content into the SQL database 

 

InDriver.sqlExecute( "azureserver", "insert into public.batch_records (source, ts, data) \ values ('Machine1','" + new Date().toISOString() + "',$$" + pdfText + "$$);" );

💡 This is just one example of InDriver’s capabilities — automating processes, integrating with machines, acquiring, and analyzing data has never been easier!

bottom of page