× Third party announcements.
If you want to share with others your project or applications, build with CT, you can do it here.

Question CT and applied programming

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #5070 by ekir
CT and applied programming was created by ekir
Under the version 4.7 very good impressions. I shall pass to it for the decision of applied tasks (I generally engineer, instead of programmer). Today has placed on a site two projects with sources codes, probably, it will be interesting to the engineers and beginning programmers:
- Account of a static and dynamic stock of gas in a gas pipeline ( link );
- Use of a file of resources (*.lrs) for accommodation of libraries, patterns and utilities ( link ).
Sternas, thanks for the comfortable working tool!

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 1 month ago #5071 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Thanks Sir
we are very happy :)

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #5097 by ekir
Replied by ekir on topic CT and applied programming
Good afternoon all!
The new project from a series "CT + the applied physics":
Calculation of theoretical volume of transportation of gas and factor of hydraulic efficiency (the ready application + source) - link .
The following user(s) said Thank You: Miquel Matas

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago - 7 years 4 weeks ago #5102 by ekir
Replied by ekir on topic CT and applied programming
Kind time of day!
New project: The gas expiration in atmosphere at equipment and gas pipeline purges (the ready application + source) - link .
Last edit: 7 years 4 weeks ago by ekir.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 4 weeks ago #5103 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Excellent news, Sir

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 4 weeks ago #5104 by ekir
Replied by ekir on topic CT and applied programming
I train.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 4 weeks ago #5105 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Yes that it's true :woohoo:

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 weeks ago #5119 by ekir
Replied by ekir on topic CT and applied programming
Good evening all!
New project: Calculation of body mass index (soft and source) - link .
On motives of a note from Wikipedia.
PS. At a considerable quantity of series (I needed to use 8) standard component TChart works incorrectly - series are displayed not in that order in what it is required. It was necessary to go by the way of the least resistance and to insert into the program the foreign module.
However, it is a secondary problem. Originally instead of construction of schedules I wished to use drawing from Wikipedia, but in properties TChart could not find possibility to use drawings for background in space of construction of the chart.
PS PS I Think that the program will be pleasant to girls who like to supervise the weight ;)

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 2 weeks ago #5136 by ekir
Replied by ekir on topic CT and applied programming
Hi!
New project: Calculator ‘GasHelp’ (collection of calculations for applied gas dynamics), application + source – link .
Is realized in the program:
• Factor of compressibility of gas;
• Factor of an adiabatic curve of gas;
• Actual density of gas in a pipeline;
• Speed of a sound in the compressed gas;
• Speed of the expiration of gas;
• Linear speed and the mass expense of gas in a pipeline.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 2 weeks ago - 7 years 2 weeks ago #5139 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Professional things :woohoo:
Thanks for your work, Sir

PilotLogic Architect and Core Programmer
Last edit: 7 years 2 weeks ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 2 weeks ago #5140 by ekir
Replied by ekir on topic CT and applied programming
CT forever! But nevertheless, for fast working out of applied programs does not suffice good RichEdit for possibility of a conclusion of results in *.rtf or *.doc. Especially regarding display of formulas.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
7 years 2 weeks ago #5141 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Sir, we working and on this...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 2 weeks ago #5147 by ekir
Replied by ekir on topic CT and applied programming
Hi!
Updated project: Calculator ‘GasHelper’ (collection of calculations for applied gas dynamics), application and source –> link .
Version 1.1. Calculations are added:
• Equivalent diameter of consecutive sites of a main gas pipeline;
• Equivalent length of parallel sites of a main gas pipeline.

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 2 weeks ago #5166 by ekir
Replied by ekir on topic CT and applied programming
Good evening all!
Updated project: Calculator ‘GasHelper’ v 1.3, OS Windows, application and source –> link .
It seems, quite good help for students turns out.
menu ‘More Simple’:
Factor of compressibility of gas;
Factor of an adiabatic curve of gas;
Actual density of gas in a pipeline;
Speed of a sound in the compressed gas;
Speed of the expiration of gas from pipeline or equipment;
Linear speed and the mass expense of gas in a pipeline.
Equivalent diameter of consecutive sites of a main gas pipeline;
Equivalent length of parallel sites of a main gas pipeline;
Stock of gas in the localized pipeline.
menu ‘More Complex’:
Averages pressure and temperature of gas;
Stock of gas in the operating pipeline.
Sternas, whether it is planned in CT to expand the mathematical module? I understand that CT it is focused on multimedia projects, but nevertheless. In this project it is necessary to realise procedure polynomical regresses. I am afraid, there will be a lot of handwork...

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 11 months ago - 5 years 11 months ago #6938 by ekir
Replied by ekir on topic CT and applied programming
Guys, good evening!
Work on the English version of the project is completed. The latest version of the calculator - 1.8. Download the project and the compiled application is available here -> link
And So:
menu 'More Simple':
· Factor of compressibility of gas;
· Factor of an adiabatic curve of gas;
· Actual density of gas in a pipeline;
· Speed of a sound in the compressed gas;
· Speed of the expiration of gas;
· Linear speed and the mass expense of gas in a pipeline;
· Equivalent diameter of consecutive sites of a main gas pipeline;
· Equivalent length of parallel sites of a main gas pipeline;
· Stock of gas in the localized pipeline;
· Polytropic efficiency of compressor;
· Polytropic compression energy of compressor (station) (new).
menu 'More Complex':
· Averages pressure and temperature of gas;
· Stock of gas in the operating pipeline;
· Prospective gas flow rate in the pipeline;
· Factor of hydraulic efficiency of pipeline;
· Expiration of gas without pressure decrease;
· Expiration of gas with pressure decrease.
There is an opportunity of export of initial data and result of calculation to RTF-file. For each calculation there is a description of formulas on which calculations are carried out.
Last edit: 5 years 11 months ago by ekir.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 11 months ago #6939 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Cool :) project and very good web site.
Our full support Sir, for any help we are here.

Have fun and good coding ...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 11 months ago #6942 by ekir
Replied by ekir on topic CT and applied programming
Guys, good evening!
A small addition to the previous post.
In developing the project «GasHelper», I wanted to create an application that can not be "killed". To do this, the executable file I put all that is required for normal operation of the calculator: a library, a text editor, a large number of documents describing methods of physical calculations. Can be sure - if you take the "naked" GasHelper.exe file and run it, the application will restore its performance.
In short, it was necessary to develop additional project «CTR» -> link . Sources included. Perhaps this project to someone save time.
A short description of the project:
The application is designed to generate resource file IDE CodeTyphon, that allows the developer to place additional files in executable file - templates, help files, libraries, command line utilities, etc.
At formation of a file of a resource the utility lazres.exe is used.
As a result to create file “archive.lrs”, which you can to compile with the project.
In the resource file “archive.lrs” executables (exe), library (dll), zip and rar archives placed without additional compression, the other files before placing in the resource module compressed “LSZCompress.pas” (LCL LazSolutions, standard library CodeTyphon 5.20).
Application is compiled for OS Windows.
Procedure for extracting files from archive.lrs detail on the page (link given above).

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 11 months ago #6955 by ekir
Replied by ekir on topic CT and applied programming
Good time, researchers and romance CodeTyphon!
Version 5.20 has been restored correct operation «SQLite + ZeosDB». For me it's very important, because in their applications I use a local database. SQLite is a very convenient tool for creating applications.
Represent a small sample project for Microsoft Windows, which includes several interesting features:
• Implementation of proper communication with SQLite database when run from a directory with national characters (other than English). There are features in a conversion «UTF8 <-> Ansi»;
• Example of RxDBMemory (there are nuances with the connection of additional units);
• Export RxDBGrid in RTF-file;
• Example of the "regular" archiver LSZCompress.

Go to the page with the project here --> link

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 11 months ago #6956 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT and applied programming
Thanks Sir
ZeosLib guys ( link ) make an excellent work

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 10 months ago #6962 by ekir
Replied by ekir on topic CT and applied programming
Good evening, Knights of the CodeTyphon!
Immediately apologize for the pagan English.
I bring to your attention a small project to export data to Excel (without COM-object) - Link .
(And it is for Russian coders – Link )
It seems that in CodeTyphon managed to find a good option to export the database tables in Excel. In principle, it is not a problem if the data to be sent via the COM-object. But there are nuances: firstly, a very long and difficult to write source code, especially if the header of the table is complex and has merged cells; Second, data transfer via COM-object takes a long time.
In Delphi, the problem of rapid export large amounts of data (to Excel) critical components (VCL) XLReport company AfalinaSoft. The activities of this company ceased in 2004, the project was abandoned them, and promise to transfer a source OpenSource unfulfilled. This is unfortunate, since it does not allow to port a very useful component in CodeTyphon or Lazarus.
Some semblance XLReport can be emulated in CodeTyphon using components WorkSheetGrid and WorkBookSource:
• In WYSIWIG (in the Excel) developed a template report document (developed header of the table are assigned text attributes defined column width, if necessary combined cell);
• Components and WorkSheetGrid WorkBookSource own funds (without the use of COM-object) sends the data to the template;
• The Excel file is overwritten and open - or in the Excel, or in the embedded viewer (in this project I used a form of project SpReady CodeOcean).

Please Log in or Create an account to join the conversation.