Convert C to Delphi

Updated on technology 2024-02-09
2 answers
  1. Anonymous users2024-02-05

    The void ziq() part doesn't say anything Sark, just turn it around.

    variable definition part int n=27; It can be defined as n: integer and then assigned, or const n=27;

    The float part is the same.

    The array float bb1 can be defined as const bb1: array[0..Number -1] of float=(value 1, value 2...)value n), the same goes for the array hh1.

  2. Anonymous users2024-02-04

    MCGS configuration software is a tool suitable for Windows platform, rapid construction and generation of host computer monitoring, MCGS configuration software** set on-site acquisition, data processing and control equipment and other functions in one, to provide customers with a full range of services.

    Software features] free: the super function of the infinite point configuration software is free to use.

    Compatible: The software is backward compatible, supports a full range of products, and is compatible with win7-64-bit systems.

    Low consumption: It is applied to embedded computers and only occupies 16M system memory.

    Drivers: Drivers for more than 800 commonly used devices are provided.

    Reports: A variety of data storage methods, a variety of report display forms, to meet different on-site needs.

    Curves: Supports real-time, historical, and planned curves, and the display performance of historical curves is improved by 10 times.

    Security: You can set security mechanisms such as project password, operation authority password, and operation period.

    Simplification: Added a public window, removed the double-click function, and simplified the configuration process.

    Open: Users can write their own drivers, applications, support personalized customization, and built-in printer functions.

    Stable: Optimized startup attributes, built-in watchdog, easy to use, and long-term stable operation in various harsh environments.

    Function: Provide interrupt processing, timed scanning up to milliseconds, and provide access to MCGSTPC serial port, memory, and port.

    Storage: The data compression method with high compression ratio collapses to ensure data integrity, and the initial value of ferroelectric storage can be erased and written more than 10 billion times.

    MCGS configuration software composition].

    Main Control Window: This is the main window or frame of the project. In the master window, you can place a copied device window and multiple user windows, which are responsible for scheduling and managing the opening or closing of these windows.

    The main configuration operations include: defining the name of the project without wide circle, compiling the project menu, designing the cover image, determining the window to start automatically, setting the animation refresh cycle, specifying the name and save time of the inventory disk file, etc.

    Device window: This is the working environment for connecting and driving external devices. In this window, configure the data acquisition and control output device, register the device driver, and define the data variables used to connect and drive the device.

    User window: This window is mainly used to set up the interface of human-computer interaction in the project, such as: generating various animated display screens, alarm output, data and curve charts, etc.

    Real-time database: It is the data exchange and processing center of each part of the project, which connects the various parts of the MCGS project into an organic whole. In this window, you can define variables of different types and names as objects for data acquisition, processing, output control, animation connection, and device drive.

    Operation strategy: This window mainly completes the control of the project operation process. Including writing control programs (ifthen script programs), selecting various functional components, such as: data extraction, timer, recipe operation, multi-** output, etc.

Related questions
8 answers2024-02-09

If you define r as int, enter 10000 and that will automatically force the type conversion when multiplied. >>>More

11 answers2024-02-09

I feel very simple...

#include >>>More

9 answers2024-02-09

Scope. You static char *chh;

static char *ch1;Although the address pointed to by the two pointers does not change, have you ever wondered whether the memory address they point to has been released, char chc[10]; It's local, the function is out, the lifecycle is over, and you're trying to access it with a pointer in void times(). >>>More

10 answers2024-02-09

main() [main function main program].

int i,j,k;【Define integer data i,j,k】for(i=1; i<=6;i++) main loop, i from 1 to 6, increasing to 1] for(j=1; j<=20-2*i;j++) subcycle, j from 1 to 20-2*i >>>More

4 answers2024-02-09

2. 1, True 2, False (there is only one program) 3, False (not necessarily) 4, True. >>>More