Python Forum
Files to store configuration and steps for a industrial process control application
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Files to store configuration and steps for a industrial process control application
#1
Hi everyone this is my first post Smile . I am a beginner in python and interested in industrial application. I have had some previous experience with C and Matlab but my background is more on hardware than software.

Imagine a basic manufacturing process where I need to send some parameters to a machine to set the way of doing the job (settings), and then a sequence of steps to define what the job is, for example this time at this temperature and then that time at this higher temperature etc (lets call it process sequence).

I would like to type this information in a GUI and save to a file so the main script would read from it and start the job.

I have been doing some research and found a library called configparser that seems to be what I need for the settings. I do not know if there is any thing similar for the "process sequence". I guess the process sequence would end in a list in a variable in memory but I do not know if there is a proper way to put it in a file. Maybe just a flat csv file?

Thank you in advance for your answer Wink ,
Reply
#2
there are plenty of options, apart from configparser format. As you said a sequence of actions, I would say the configparser is not best option.
a lot will depend on exact data.
as you said csv file is also an option
another one - look at json for example (maybe it will be the best option if I understand your setup correctly)
xml, yaml may also do the job

probably sqlite3 database may also do what you need
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Sorting Steps MoreMoney 19 780 Mar-31-2024, 10:59 AM
Last Post: Pedroski55
  Python modules for accessing the configuration of relevant paths Imago 1 1,372 May-07-2022, 07:28 PM
Last Post: Larz60+
  Process multiple pdf files Spartan314 1 1,319 Oct-27-2021, 10:46 PM
Last Post: Larz60+
  How to send data from a python application to an external application aditya_rajiv 1 2,179 Jul-26-2021, 06:00 AM
Last Post: ndc85430
  Next steps for using API data Rebster 6 2,538 Oct-10-2020, 05:35 PM
Last Post: perfringo
  Keep Toggle View through Slider Steps yourboyjoe 1 1,671 Aug-10-2020, 07:32 PM
Last Post: Yoriz
  INI Configuration GUI goofygoo 4 4,550 Jul-19-2020, 08:47 PM
Last Post: goofygoo
  Automate process _ 2 cvs files Python_Fatli 1 1,489 Jul-05-2020, 09:42 PM
Last Post: Larz60+
  win32 API: Launch Application to RDP session from background process python script rangeshgupta 0 2,147 May-28-2020, 09:41 PM
Last Post: rangeshgupta
  Industrial application CyrilDB 1 1,534 Feb-11-2020, 11:32 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020