CN1801165A - Intelligent method for inputting sample number into spectrum - Google Patents
Intelligent method for inputting sample number into spectrum Download PDFInfo
- Publication number
- CN1801165A CN1801165A CNA2004101030922A CN200410103092A CN1801165A CN 1801165 A CN1801165 A CN 1801165A CN A2004101030922 A CNA2004101030922 A CN A2004101030922A CN 200410103092 A CN200410103092 A CN 200410103092A CN 1801165 A CN1801165 A CN 1801165A
- Authority
- CN
- China
- Prior art keywords
- sample
- sample number
- winoe
- software
- intelligent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Investigating Or Analysing Materials By Optical Means (AREA)
- Other Investigation Or Analysis Of Materials By Electrical Means (AREA)
Abstract
本发明属光谱测试,尤其涉及光谱仪分析样品编号智能输入。其特点是提供样品编号智能生成软件;并提供了与WINOE光谱软件信息交流通道,还改变分析类型和强制归位与WINOE光谱软件实现同步。既实现样品编号智能输入光谱仪,又不影响光谱仪的正常运行。其优点是:样品编号输入简化,很少人工介入,样品编号就能自动生成,输入方便、快捷,不占检验周期;样品编号输入准确,还可以联网查询。
The invention belongs to spectrum testing, in particular to intelligent input of spectrometer analysis sample numbers. It is characterized by providing intelligent sample number generation software; and providing an information exchange channel with WINOE spectral software, and also changing the analysis type and forced homing to realize synchronization with WINOE spectral software. It not only realizes the intelligent input of the sample number into the spectrometer, but also does not affect the normal operation of the spectrometer. Its advantages are: the sample number input is simplified, with little manual intervention, the sample number can be automatically generated, the input is convenient and fast, and does not occupy the inspection cycle; the sample number input is accurate, and it can also be queried online.
Description
技术领域technical field
本发明属光谱测试,尤其涉及光谱仪分析样品编号智能输入。The invention belongs to spectrum testing, in particular to intelligent input of spectrometer analysis sample numbers.
背景技术Background technique
随着冶金工业技术进步,钢铁生产节奏加快,冶炼周期越来越短,对产品检验周期提出了更高的要求,过去采用湿法分析远远不能满足生产要求,现有技术中,瑞士ARL光谱仪检验,检验周期一般为三分钟,可以满足生产的需求,但样品编号还是人工输入,其缺陷是键盘输入,操作繁琐,占用时间长;编号输入容易产生错误;并且,在分析期间不能输入第二个样品编号,更不能发现错误。With the advancement of metallurgical industry technology, the pace of steel production is accelerating, and the smelting cycle is getting shorter and shorter, which puts forward higher requirements for the product inspection cycle. In the past, wet analysis was far from meeting the production requirements. In the existing technology, the Swiss ARL spectrometer Inspection, the inspection cycle is generally three minutes, which can meet the needs of production, but the sample number is still manually input, and its disadvantage is that the keyboard input is cumbersome and takes a long time; the number input is prone to errors; A sample number, let alone find errors.
发明内容Contents of the invention
为了克服现有技术存在的缺陷,本发明的目的是提供一种光谱仪样品编号智能生成、能及时发现样品编号错误并自动输入ARL光谱仪WINOE应用软件的样品编号智能输入方法。In order to overcome the defects in the prior art, the object of the present invention is to provide an intelligent sample number input method for spectrometer sample number generation, which can detect sample number errors in time and automatically input the sample number into the ARL spectrometer WINOE application software.
光谱仪样品编号智能输入方法,其特点是提供样品编号智能生成软件;并建立了与WINOE光谱软件信息交流的通道;采用改变分析类型和强制归位与WINOE光谱软件实现同步。实现了样品编号智能输入光谱仪,又不影响光谱仪的正常运行,使光谱仪成为一个样品编号智能输入系统。Spectrometer sample number intelligent input method, which is characterized by providing sample number intelligent generation software; and establishing a channel for information exchange with WINOE spectral software; adopting changing analysis type and forced homing to realize synchronization with WINOE spectral software. The intelligent input of the sample number to the spectrometer is realized without affecting the normal operation of the spectrometer, so that the spectrometer becomes an intelligent input system of the sample number.
所述的与WIONE光谱软件信息交流的通道,是将记录型数据文件*.UCN看作一个二进制文件,并对其进行操作,实现与WINOE光谱软件信息交流。The channel for information exchange with WIONE spectrum software is to regard the record type data file *.UCN as a binary file and operate on it to realize information exchange with WIONE spectrum software.
记录型数据文件“*.UCN”第94个字节“0”改为“1”,可以使WINOE光谱软件设置在预存样品编号方式,扩大“*.UCN”文件到所要求的长度;并从“*.UCN”文件第442个字节开始,依次加入样品编号智能系统生成的样品编号,完成智能化输入工作。Change the 94th byte "0" of the record type data file "*.UCN" to "1", which can make the Winoe spectrum software set in the pre-stored sample number mode and expand the "*.UCN" file to the required length; and from Starting from the 442nd byte of the "*.UCN" file, add the sample numbers generated by the sample number intelligent system in turn to complete the intelligent input work.
采用改变分析样品类型和强制归位与WINOE光谱软件实现同步:改变分析样品类型,WINOE光谱软件自动调整记录指针,指向初始第三条样品编号记录,本发明也同步改变分析类型;当记录指针指向文件末尾时,提醒用户强制归位,退出样品分析,再次进入样品分析任务,让其强制记录指针指向初始第三条样品编号记录,上述二种方式都能实现与WINOE光谱软件同步。Synchronization is achieved by changing the analysis sample type and forced homing with the Winoe spectrum software: changing the analysis sample type, the Winoe spectrum software automatically adjusts the record pointer to point to the initial third sample number record, and the present invention also changes the analysis type synchronously; when the record pointer points to At the end of the file, the user is reminded to return to the original position, exit the sample analysis, enter the sample analysis task again, and let the forced record pointer point to the initial third sample number record. The above two methods can be synchronized with the Winoe spectrum software.
与现有技术的ARL光谱仪相比,其优点是样品编号输入简化,很少人工介入,无需按键盘,只需点击少于3次鼠标,样品编号就能自动生成,输入方便快速,不占用检验周期,更为重要的是可以避免输入错误,可以联网查询使检验结果正确、可靠。Compared with the ARL spectrometer of the prior art, the advantage is that the input of the sample number is simplified, there is little manual intervention, no need to press the keyboard, and the sample number can be automatically generated by clicking the mouse less than 3 times, the input is convenient and fast, and it does not occupy the inspection cycle, and more importantly, it can avoid input errors, and can query online to make the inspection results correct and reliable.
附图说明Description of drawings
下面结合附图对本发明做进一步说明Below in conjunction with accompanying drawing, the present invention will be further described
图1光谱仪样品编号智能输入流程图。Figure 1 Flowchart of intelligent input of spectrometer sample number.
图中“------”包围部分为光谱仪原有系统The part surrounded by "------" in the figure is the original system of the spectrometer
具体实施方式Detailed ways
运用Visual Basic高级语言,进行可视化程序设计,设计一个样品编号智能生成系统。首先,建立一个样品编号的记录型随机文件,用来保存过去已分析过的样品编号;其次,根椐实际生产中,有几个炼钢炉,就用几个变量来动态记录对应炉次最后一个样品的编号;第三,利用动态查询,随时生成任何炉次的最后一个样子的编号;第四,运用软件手段,对样品编号进行智能修改,做到生成新的样品编号,点击鼠标平均不超过三次;第五,实行化验室光谱仪联网,使已分析样品的信息实现共享,化验室内任何一台光谱仪上都可以查到已分析的样品编号,随时都可以了解每炉已经分析了多少个样子,避免错号,以纠正与化验室检验相关的其他生产单位试样编号错误。Using Visual Basic high-level language to carry out visual programming and design an intelligent generation system for sample numbers. First, create a record-type random file of sample numbers to save the sample numbers that have been analyzed in the past; secondly, according to the actual production, there are several steelmaking furnaces, and several variables are used to dynamically record the corresponding furnaces. Finally The number of a sample; third, use dynamic query to generate the number of the last shape of any furnace at any time; fourth, use software to intelligently modify the sample number, so as to generate a new sample number, and click the mouse on average. More than three times; fifth, implement laboratory spectrometer networking, so that the information of analyzed samples can be shared, and the analyzed sample number can be found on any spectrometer in the laboratory, and you can know how many samples have been analyzed in each furnace at any time , to avoid wrong numbers, to correct other production unit sample number errors related to laboratory testing.
建立与光谱应用软件通讯模式。由于光谱应用软件是封装过的,根本没有任何接口,常规手段是无能为力的。ARL光谱应用软件中未知样品分析任务的数据文件(*.UCN)是记录型随机文件.Establish communication mode with spectral application software. Since the spectrum application software is packaged without any interface at all, conventional means are helpless. The data file (*.UCN) of the unknown sample analysis task in the ARL spectral application software is a record-type random file.
从文件的组织结构剖析可知,样品编号的输入有两种方式:From the analysis of the organizational structure of the file, we can see that there are two ways to input the sample number:
1、完全靠手动输入样品编号1. Completely rely on manual input of sample number
2、使用预存样品编号方式。2. Use the pre-stored sample number method.
使用第一种方式时,WINOE光谱应用软件不使用数据文件的后半部分;使用第二种方式时,WINOE光谱应用软件才使用数据文件的后半部分,每次样品分析完成,立即把*.UCN文件读入内存,并且覆盖内存中原有的*.UCN文件,记录指针自动加一。本发明通过改变*.UCN文件中第94个字节的值,由“0”改为“1”,使ARL光谱应用软件使用第二种方式。When the first method is used, the Winoe spectrum application software does not use the second half of the data file; when the second method is used, the Winoe spectrum application software only uses the second half of the data file. After each sample analysis is completed, the *. The UCN file is read into the memory, and the original *.UCN file in the memory is overwritten, and the record pointer is automatically incremented by one. The present invention makes the ARL spectrum application software use the second mode by changing the value of the 94th byte in the *.UCN file from "0" to "1".
数据文件*.UCN本来是为日常标准化和校准曲线等几个固定样品准备的,数据文件*.UCN大小一般是固定的,只能容纳十个样品编号,而且一定要预先设置好。每个样品编号占220个字节,一个样品编号的每个输入框占13个字节,而第一个输入框的第一个字符必须是67,其他输入框的第一个字符必须是0.本发明对数据文件*.UCN进行改造。扩大数据文件*.UCN的长度,使它能容纳小于N个样品编号(N是该计算机所代表的最大整数),在文件*.UCN的(N×220-1)字节写一个二进制字符,使成为一个样品编号的容器;由智能生成系统生成的样品编号,顺序存放到这个容器中。关键在于,尽管“*.UCN”是记录型随机文件,但应视作二进制文件,从文件初始第三条记录开始依次填入样品编号。使数据文件*.UCN改造成信息交流的场所.The data file *.UCN is originally prepared for several fixed samples such as daily standardization and calibration curves. The size of the data file *.UCN is generally fixed and can only accommodate ten sample numbers, and it must be set in advance. Each sample number occupies 220 bytes, and each input box of a sample number occupies 13 bytes, and the first character of the first input box must be 67, and the first character of other input boxes must be 0 .The present invention transforms the data file *.UCN. Expand the length of the data file *.UCN so that it can hold less than N sample numbers (N is the largest integer represented by the computer), write a binary character in the (N×220-1) byte of the file *.UCN, Make it a sample number container; the sample numbers generated by the intelligent generation system are sequentially stored in this container. The key point is that although "*.UCN" is a record-type random file, it should be regarded as a binary file, and the sample number is filled in order from the third record in the file. Transform the data file *.UCN into a place for information exchange.
通道程序如下:The channel procedure is as follows:
Open Filel.FileName For Binary As 3Open Filel.FileName For Binary As 3
Put#3,442+k0*220,67Put#3, 442+k0*220, 67
Put#3,451+k0*220,0Put#3, 451+k0*220, 0
Put#3,455+k0*220,0Put#3, 455+k0*220, 0
Put#3,456+k0*220,t0.yrPut#3, 456+k0*220, t0.yr
Put#3,459+k0*220,0Put#3, 459+k0*220, 0
Put#3,468+k0*220,0Put#3, 468+k0*220, 0
Put#3,469+k0*220,t0.ycPut#3, 469+k0*220, t0.yc
Put#3,471+k0*220,0Put#3, 471+k0*220, 0
Put#3,481+k0*220,0Put#3, 481+k0*220, 0
Put#3,482+k0*220,t0.ghPut#3, 482+k0*220, t0.gh
Put#3,487+k0*220,0Put#3, 487+k0*220, 0
Put#3,494+k0*220,0Put#3, 494+k0*220, 0
k0=k0+1k0=k0+1
Close#3close#3
(注:t0为样品编号的记录型变量,k0为记录指针)(Note: t0 is the record variable of the sample number, k0 is the record pointer)
解决与WINOE光谱软件同步问题,光谱进行某一类型未知样品分析时,记录指针初始指向第三条样品编号记录,分析完一个样品,记录指针自动加一。光谱软件首次进行未知样品分析时,读数据文件*.UCN,并且记下文件长度,不再改变。本发明采用两种方式实现与WINOE光谱软件同步:第一种是改变分析样品的类型(比如:钢样切换成铁样),一旦改变分析样品的类型,光谱软件自动调整记录指针,指向初始样品编号记录,在本发明中,也同步更换分析类型,从初始记录开始存放;第二种是强制归位,当记录指针指向文件尾时,退出未知样品分析任务,再次进入未知样品分析任务,记录指针指向初始样品编号记录,本发明自动记录存放样品编号记录个数,当达到设定记录个数,提醒用户强制归位,自动调整记录指针为初始记录。To solve the synchronization problem with the Winoe spectrum software, when the spectrum is analyzing a certain type of unknown sample, the record pointer initially points to the third sample number record, and after analyzing a sample, the record pointer is automatically incremented by one. When the spectrum software analyzes an unknown sample for the first time, it reads the data file *.UCN, and records the length of the file, which will not be changed. The present invention adopts two ways to achieve synchronization with the Winoe spectrum software: the first is to change the type of analysis sample (for example: steel sample is switched to iron sample), once the type of analysis sample is changed, the spectrum software automatically adjusts the recording pointer to point to the initial sample Numbered records, in the present invention, also change the analysis type synchronously, and store from the initial record; The pointer points to the initial sample number record, and the invention automatically records and stores the number of sample number records. When the set number of records is reached, the user is reminded to return to the original position, and the record pointer is automatically adjusted to the initial record.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200410103092A CN1801165B (en) | 2004-12-31 | 2004-12-31 | Spectrometer sample number intelligent input method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200410103092A CN1801165B (en) | 2004-12-31 | 2004-12-31 | Spectrometer sample number intelligent input method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1801165A true CN1801165A (en) | 2006-07-12 |
| CN1801165B CN1801165B (en) | 2010-05-12 |
Family
ID=36811165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200410103092A Expired - Lifetime CN1801165B (en) | 2004-12-31 | 2004-12-31 | Spectrometer sample number intelligent input method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1801165B (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004333162A (en) * | 2003-04-30 | 2004-11-25 | Teruaki Ito | Specimen container numbering device |
| CN1300736C (en) * | 2003-12-29 | 2007-02-14 | 大庆油田有限责任公司 | Processing method for rock core sample |
-
2004
- 2004-12-31 CN CN200410103092A patent/CN1801165B/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| CN1801165B (en) | 2010-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105765503B (en) | It is generated for ink data, ink data is presented, ink data manipulates and the method and system of ink data communication | |
| Monroe et al. | MASIC: A software program for fast quantitation and flexible visualization of chromatographic profiles from detected LC–MS (/MS) features | |
| US8582952B2 (en) | Method and apparatus for identifying video transitions | |
| US20050206658A1 (en) | Manipulation of image content using various image representations | |
| US20140164444A1 (en) | System and method of managing large data files | |
| CN113010359B (en) | Bus test system generation method, system, device and storage medium | |
| CN117456125B (en) | Automatic conversion method of architectural 3ds Max geometric model to Revit information model | |
| CN1801165A (en) | Intelligent method for inputting sample number into spectrum | |
| US10018983B2 (en) | PLC system and arithmetic-expression-data-creation supporting apparatus | |
| Wang et al. | StackZDPD: a novel encoding scheme for mass spectrometry data optimized for speed and compression ratio | |
| CN100343801C (en) | Method for producing intelligent virtual display | |
| US20240153170A1 (en) | Managing multiple datasets for data bound objects | |
| CN101650750B (en) | Rapid and intuitive interpretive system and method for petroleum well logging data | |
| CN119476257B (en) | Method, device and equipment for displaying register addresses in programmable logic controller | |
| CN1894683A (en) | System and method for entry and display of blueprint data | |
| CN108897794A (en) | Synchronous method, device, storage medium and the electronic equipment of dereliction key data table | |
| CN114422627A (en) | BLF data reading and writing and CAN message translation method based on CANoe dynamic link library | |
| CN1875619A (en) | Display and control method thereof | |
| CN1664817A (en) | The Method of Automatic Conversion Between Oracle Form9i and Microsoft Excel Pivot Table | |
| Watt | New aspects of InkML for pen-based computing | |
| CN1327569A (en) | System and method for rotation invariant representation of textures in images | |
| AU2022204492B2 (en) | Systems and methods for compressing vector graphics | |
| EA010400B1 (en) | A system, a method and an apparatus for importing text data in a database | |
| US20240153169A1 (en) | Changing coordinate systems for data bound objects | |
| CN118642632A (en) | A method, device and related medium for realizing different comparison modes of multiple pictures |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20060712 Assignee: MAANSHAN MA STEEL HUAYANG EQUIPMENT DIAGNOSTICS ENGINEERING CO.,LTD. Assignor: MAANSHAN IRON & STEEL Co.,Ltd. Contract record no.: 2012340000260 Denomination of invention: Intelligent method for inputting sample number into spectrum Granted publication date: 20100512 License type: Exclusive License Record date: 20120723 |
|
| CX01 | Expiry of patent term | ||
| CX01 | Expiry of patent term |
Granted publication date: 20100512 |