Winter break has officially started for me as all the universities have closed. Started studying today and I began with programming and I will probably continue with Biochemistry. Hope everyone is having a great weekend!
seen from Ukraine
seen from Colombia

seen from United States
seen from Serbia
seen from Saudi Arabia
seen from United States
seen from United States
seen from Philippines
seen from Türkiye
seen from Suriname
seen from Saudi Arabia
seen from China

seen from United States
seen from United States
seen from United States

seen from United States

seen from United States
seen from China
seen from China
seen from United States
Winter break has officially started for me as all the universities have closed. Started studying today and I began with programming and I will probably continue with Biochemistry. Hope everyone is having a great weekend!
Ingénieurs Développeurs
Nous recrutons des ingénieurs développeurs confirmés avec un minimum 3 ans d’expérience : – En language Cobol – En language C – En language Java en Back et Angular JS, react en front Merci d’envoyer vos CV à l adresse [email protected]
View On WordPress
Jeu du Plus ou Moins / Game of More or Less
Salut à tous ! Je vais vous présenter mon premier programme en C, le jeu du "Plus ou Moins".
Hello there ! I'll introduce you my first programme in language C, the game of "More or Less".
Dans un futur post je vous présenterai mon jeu du "Pendu". Merci de votre patience. ;D
Later I'll introduce you my game of "The Hanged". Thanks for your patience. ;D
L'executable / The executable
On the basis of iFix of DDE and data communication of Matlab
A foreword The software iFix of GE's industrial configuration runs steadily, high-efficient, have applied to the automatic field of industry extensively for many years. Like other industrial configuration software, as the software of man-machine interface, though Fix has gifted advantages, but mathematics and computing function have a great deal of deficiency. The mathematic software Matlab that U.S.A. mathworks Company produces is a kind of engineering calculation language based on language C kernel and matrix arithmetic, have strong number value computational capability and abundant control algorithm. The two-way data communication that this text realized Fix and Matlab with VC ++, lead operation function and algorithm of Matlab into iFixDDE. DDE (dynamic data interchange) It is a kind of process communication mechanism of Windows, it is based on Windows news mechanism, carries on the dialogue through transmitting news between two utility programs, these two procedures are known as server and customer separately, DDE server is maintaining the data that other Windows procedures may be used, but DDE customer got these machine format procedures from the server. The same Windows utility program can be a customer of a procedure, can be the server of another procedure at the same time too, a server can pass the data to a plurality of customers, a customer can obtain the data from a plurality of servers too, all these are defined by DDE dialogue. DDE dialogue needs three parameters: Serve the name, topic name, project name. It serve by name generally and as utility program of server,can last a plurality of topic one piece service, a topic can offer a plurality of projects, the data exchanged by the famous are you sure of the project finally. 2 is with VC ++ basic thinkings of realizing iFix and Matlab DDE communication IFIX software realized DDE server has realized DDE customer too, supports the clipboard data of text format. Matlab has realized DDE server has realized DDE customer too, supports text format, metafile picture (MetaFilePict) when as the server And three kinds of clipboard forms of XLTable form, support text format as the customer end. This text realizes DDE server with VC ++ procedure, do all FIX software and Matlab as VC ++ procedure customers. The relation between three: Basic structure realized in bidirectional data link of Fig. 1 3 group is in DDE server programming of Visual C + + 3.1 Basic principle The core of DDE agreement is DDE news, carry on the dialogue through transmitting news between the procedures of the communication. The primary service of DDE server procedure is to maintain the data that other Windows procedures may be used, realize the news circulation of DDE server, thus deal with various request of DDE customer. 3.2 The procedure realizes Adopt Visual C + + to realize the program flowchart of DDE server is shown as 2. Fig. 2 DDE server program flowchart ( 1) During initialisation of procedure, transfer DdeInitialize ') Initialized the intersection of DDE and management holder, offer and adjust back the function DdeCallBack in the form of parameter ') ,When the procedure receives in the form of news to wait to handle the affairs, this adjusts back the function on the call, adjust back the form in which the function usually writes as switch-case. Different affairs that the branch is dealt with; Then transfer DdeCreateStringHandle ' ) Back in service name, topic name, Handle of the project name, the type of returning is HSZ. ( 2) Register DDE, serve, regard serving famous Handle as the parameter and transfer DdeNameService ') . ( 3) Adjust back the function DdeCallBack ' )Prototype: HDDEDATA EXPENTRY DdeCallback( UINT type, UINT fmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2) ; Among them type is a affairs type, fmt, in order to exchange the machine format clipboard form, hConv Handle in order to talk at present, hsz1, hsz2, hData, dwData1; The meaning of dwData2 depends on different affairs, hsz1 and hsz2 are generally topic names and Handle of the project name, hData usually machine format Handle exchanged. ( 4) The name which produces each word separator provides DDE server name, topic name and project name. Server name (ServiceName) : DDETEST g_hszAppName =DdeCreateStringHandle( g_idInst, " DDETEST" ,NULL) ; Topic name (Topic) : TEST1 g_hszTopicName =DdeCreateStringHandle( g_idInst, " TEST1" ,NULL) ; Each project name (Items) : H1, H2, UT, UP, g_hszInItem[0] =DdeCreateStringHandle( g_idInst, " H1" ,NULL) ; g_hszInItem[1] =DdeCreateStringHandle( g_idInst, " H2" ,NULL) ; g_hszOutItem[0] =DdeCreateStringHandle( g_idInst, " UT" ,NULL) ; g_hszOutItem[1] =DdeCreateStringHandle( g_idInst, " UP" ,NULL) ; 4 test Test is required: Can reveal synchronously in iFix, DDE server and Matlab systematic collection amount and control are exported. Test method: Draw the process chart, procedure parameters such as the temperature of real-time display, pressure, flowrate, liquid level,etc. ocularly on the picture with iFix. Transmit the above parameter to Matlab through DDE, carry on corresponding control operation. And then control and pass to iFix under signals through DDE, will realize the control operation of the body apparatus by the lower-position unit. VC ++ procedure reveals all data synchronously as the server. Write M file in Matlab, reveals the corresponding data uploaded, and provide control voltage UP (pump control voltage) And UT (heating voltage) . The disposition of iFix: Carry on the disposition to iFix at first, then set up a odf file at iFix Draw window, the file is called: Ceshi.odf, sees Fig. 3. Include seven parameters and two pieces of control voltage of UP, UT such as the temperature, pressure, flowrate, liquid level in the GUI, also include the force-time curves of H2 and UP, the display time of this curve chart is 3 minutes, H2 maximum value is 200mm water column, the maximum value of UP is 24V. Need, set up nine quantity these, correspond to DDE nodal name of module ' Or I/O apparatus and I/O address) ,If the node of H2 correspondent DDE is called: =DDETEST | TEST1! H2. GUI of Fig. 3 Fix 5 conclusions Can further turn Matlab procedure into VC ++ procedure, compile into an executable file and run in iFix together with DDE server procedure, can realize various algorithms and emulation conveniently, there is application prospect of better projects. http://www.fieldbuses.com/show.aspx? id =1790&cid =83