TWQ_Comb

TWQ_CombTWQ_Comb is a ©MS Windows freeware for automatic generation of all possible combinations of selected microprobe analyses and for their processing by the CMP.EXE and TWQ.EXE programs (from the TWQ package of R.G. Berman et al.) running in the batch mode. Unfortunately, only DOS versions of the TWQ package are fully supported now. However, you can run winCMP and winTWQ programs in their batch modes for generated data files separately. You can also run DOS versions of TWQ programs under 64-bit OS (like Windows Vista, 7 and 8) due to implemented support of the DOSBox emulator (which should be loaded and installed by yourself). Input files for TWQ_Comb have very simple plain text format and can be easily prepared e.g. in the ©MS Excel. The program generates large sets of compositional (*.CM?) and diagram (*.P1) files that can be loaded to the TWQ_View program for their analysis and further processing. You can read also some important notes about permutational approach in geothermobarometry.
 How to work with TWQ_Comb, CMP and TWQ programs (basic operations demo):


Comments

Hi,
I can not download from link ''DOS versions of the TWQ package''. Can you give alternative link for download.
thank you

Здравствуйте, у меня возникает проблема при включении приложения выскакивает окно с такой надписью "Cannot open Ptaxcon.fig file, check pathto thr TWQ package in the TWQ_comb.ini file!",не подскажите как с этим бороться?

DimaDD's picture

Hi Mete,
I've copied zip-archive with DOS versions of the TWQ package (of_5408.zip) from the NRC site to my Google Drive and Yandex Disk.

DimaDD's picture

Здравствуйте, Михаил!
Это сообщение означает, что программа не может открыть конфигурационный файл DOS-версии пакета TWQ, который имеет название PTAXCON.FIG. Скорее всего потому, что в инициализационном файле программы TWQ_Comb.ini не указан путь к пакету TWQ, он там задаётся, как значение ini-переменной "TWQ=".

В документации к программе (TWQ_Comb_Rus.chm) в конце раздела "Требования и установка" довольно подробно описаны подготовительные действия, которые надо произвести перед первым запуском TWQ_Comb.

P.S. Если Windows не показывает содержимого справочных файлов (например, TWQ_Comb_Rus.chm), то это значит, что они заблокированы системой, тогда надо в свойствах CHM-файла (последний пункт системного меню на правой кнопке мыши в проводнике) найти и нажать кнопку "Разблокировать".

I use Win8 64 bit. I installed DosBox emulater. In TWQ_Comb program, DosBox button is checked and disable. When I press the CMP button to run the program CMP.EXE. I get 'not responding'notice in TWQ-Comb adress line. How can I fix this case ?

Path=C:\Users\mete\Desktop\TWQ-COMB\TWQ_Comb
TWQ=C:\Users\mete\Desktop\TWQ-COMB\TWQ202
DOSBox=C:\Program Files (x86)\DOSBox-0.74

DimaDD's picture

I also recognized (on Win7 64 bit) that sometimes TWQ_Comb+DosBox fails if data files or TWQ_Comb program are placed to the system Desktop folder. I didn't investigated this behaviour in details yet. It's better to use another non-system folders (like C:\GEO\Data, C:\GEO\TWQ, etc.). Some trash may appear in the BATCH.DAT file (in the TWQ package) after juggling with folders, leading to permanent "not responding" notice: it looks like messy path-like data in the second line, so, delete this line.
"DosBox" is checked and disabled: the program have detected a 64-bit OS, therefore DosBox is the only possible option.

xiao-qiang's picture

I have some troubles of setting up the TWQ_Comb.
In my TWQ_Comb.ini file, I modified as follows:
TTWQ=c:\Twq\
DOSBox=C:\Program Files (x86)\DOSBox-0.74\
And I have downloaded the DOS version of TWQ follow your link and unzip all of them in the same folder.
When I ran the TWQ_Comb.exe, it told me that "Error: unknown DataBase file C:\TWQ\Jun92.gsc in the PTAXCON.FIG file, check DB variables in the TWQ_Comb.ini"
Do you have any idea?
If you could offer a portable package, that would be great.
Thanks for the wonderful works you've already done. These tools are useful and interesting.

DimaDD's picture

Hi,
Look inside TWQ_Comb.ini, at the "TDB" variables: they specify file names of database files. I've placed there records for two databases: "Berman, 1992" (JUN92, we call it "amphibolitic" in our group:) and "Berman & Aranovich, 1996" (BA96A, aka "granulitic"). However, TWQ202.zip (downloaded from the NRC site) contains BA96A database only, JUN92 is in the TWQ102.zip. So, TWQ_Comb couldn't find the JUN92 database. The best solution is to copy files JUN92.GSC and JUN92.SLN from TWQ102.zip to your TWQ folder (you can use both databases with TWQ v.2.02).
Yeah, those paths and file names...((( I should investigate possibility of the fully portable package, this is multiparametric problem...

xiao-qiang's picture

yes, it works.
however, I met new problem.
When after CMP procedure, it pops out the DOSbox and proceed the oxi files. After that, the program gets no responding...
I tried in the Win8.1 X64 and my virtual machine winxp x86.
Do you have any idea?
Do you run them in Windows XP x86 with DOSbox?
Thanks for your patience.

xiao-qiang's picture

Never mind.
I can use the tranditional method to get the TWQ results.
I just use the TWQ_view to view my results. This tool is useful and saves a lot of time to find the useless end-member.
Thanks all the same:D.

DimaDD's picture

I found that sometimes the program gets no responding after changes of paths (e.g. of the TWQ package) leading to messy path-like records in the second line of the BATCH.DAT (which is one of the TWQ files). This erroneous record causes TWQ_Comb/DosBox interface problems and hanging of TWQ_Comb. I didn't investigated this behaviour yet.
Yes, usually I use TWQ_Comb with DosBox under Windows XP x86.