diff README.txt @ 0:cce6989ed423

new NIST wrapper demo tools
author pieter.lukasse@wur.nl
date Thu, 22 Jan 2015 16:14:57 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.txt	Thu Jan 22 16:14:57 2015 +0100
@@ -0,0 +1,42 @@
+This wrapper does the following:
+
+1- take as input the 
+ nistms.INI
+ spectrum_file.msp 
+ outputfileName
+ 
+2- the wrapper script the generates the uid and executes the following steps:
+ - copy  ~/.wine/drive_c/NIST folder to  ~/.wine/drive_c/NIST_uid
+ - copy spectrum_file.msp to  ~/.wine/drive_c/NIST_uid
+ - creates ~/.wine/drive_c/NIST_uid/MSSEARCH/AUTOIMP.MSD -> pointing to C:\NIST_uid\MSSEARCH\temp.msd 
+ - creates ~/.wine/drive_c/NIST_uid/MSSEARCH/temp.msd -> pointing to  C:\NIST_uid\spectrum_file.msp 
+   and the  text "10 724" in the second row
+ - copy nistms.INI to ~/.wine/drive_c/NIST_uid/MSSEARCH , overwriting the existing one
+ - replace all occurrences of C:\NIST with C:\NIST_uid in this new nistms.INI
+ - run : wine ~/.wine/drive_c/NIST_uid/MSSEARCH/nistms$.exe /INSTRUMENT /PAR=2
+ - monitor : ~/.wine/drive_c/NIST_uid/MSSEARCH/SRCREADY.TXT for content = "1"
+    - when ready:
+      > copy SRCRESLT.TXT to outputfileName
+      > kill nist process
+      > remove ~/.wine/drive_c/NIST_uid/
+      > finish
+      
+
+Pre-requisites (Linux):
+ - wine is installed
+ - Xvfb is installed
+ - NIST mssearch is available under ~/.wine/drive_c/NIST/MSSEARCH/ folder
+ 
+
+ References: 
+   docs/NIST_MSSEARCH_manual.pdf  (section "Use with Instrument Data Systems", pages 44-46)
+   
+   
+Example for running in Linux:
+
+Xvfb
+export DISPLAY=:0
+python nist_wrapper.py ~/.wine/drive_c/NIST/ ../../../test/nist/wrappertests/data/nistms.INI ../../../test/nist/wrappertests/data/spectrum_file_small.MSP out.txt
+  
+  
+>>post this as reply to https://forum.winehq.org/viewtopic.php?t=9000  (seems to work for ole)   
\ No newline at end of file