Download presentation
Presentation is loading. Please wait.
Published byNaomi Craig Modified over 9 years ago
1
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 LabVIEW&Windows – MySQL interface SPD database general architecture LabVIEW – MySQL interface. Basic algorithm Technology used and advantage
2
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 SPD Database architecture Internet Perl DBMS SQL internet DataBase DBMS Server at CERN DBMS MySQL PHP Script languag e Server Web in BARI ROOT Script languag e Apache Server WEB with mod_PHP and mod_ROOT Client 1 Client 2 Client N … Assembly BARI, LEGNARO LabVIEW-MySQL Interface Wafer Test CATANIA, CERN LabVIEW-MySQL Interface Ladder Test BARI, PADOVA LabVIEW-MySQL Interface
3
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 LabVIEW- MySQL interface DataBase DBMS Server at CERN DBMS MySQL Generic Laboratory 1. LabVIEW executes the test procedure General.dat JTTEST.dat Alldacs.dat Histos.dat 2. At the end of each test an ASCII files is generated LabVIEW-MySQL Interface 3. At the end of all test procedures the interface is executed in the LabVIEW enviroment 4. Basic operations are: 1.Check if files are present. 2.Write all new test results 3.Read the new data 4.Check Read-Write 5.Log file is generated Log_file.txt SQL internet
4
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 START If wafer exist END Read new data from dB YES Check Write-Read YES Write information Into dB NO Write results of the writing in the log file For each Files text results EXIT from LOOP Basic algorithm Insert the new wafer and lot code NO Allows to insert one new LOT and WAFER object via WEB: so that is possible to hold the logic references. YES 1.Read data presents 2.Check status of previous data 3.Delete old data 4.Overwrite old with present data Possibility to operate by means of several tools already embedded in the interface. DBI Connection Check if it’s possible to establish a connection with the SPD dB, if not the write operation is aborted. Check the consistent files Check if all “test files” are present and the hierarchy directories are correct. YES If primary key exist Primary key exist, means that the information on this chip and this measure already stored in the dB Write operation successful NO Read operation successful NO New data wrote New data read
5
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 Technology used and Advantage Technology used : Developed in Perl language and compiled for Windows platform The interface uses the API called DBI:MySQL The LabVIEW and MySQL exchange information by means of SQL language Advantage : Fast execution time. Good integration in LabVIEW environment. It’s possible to use the interface also outside LabVIEW environment, as a standard Windows application. Don’t require any Windows configuration, it’s enough to copy the file. Don’t require MySQL client for Windows, because the interface contains a MySQL client. Tested for Windows 9x, NT, 2000 and XP.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.