Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome
Guest
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Beginners
»
SELECTED_OUTPUT
»
SELECTED_OUTPUT file is not created
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: SELECTED_OUTPUT file is not created (Read 1676 times)
siroos.azizmohammadi
Contributor
Posts: 3
SELECTED_OUTPUT file is not created
«
on:
15/02/24 15:32 »
Dear Phreeqc users,
I am conducting some trial runs on the examples provided in the manual using Phreeqc coupled with Matlab (IPhreeqcCOM Object). Everything seems to be functioning correctly, with no errors and the graphs are being generated as expected. However, I am encountering an issue where the output file is not being created. I have verified the permissions and the paths, but cannot figure out the issue. Any suggestions or comments would be appreciated.
Best - Siroos
Logged
dlparkhurst
Global Moderator
Posts: 4074
Re: SELECTED_OUTPUT file is not created
«
Reply #1 on:
15/02/24 17:21 »
Have you specified iphreeqc.OutputFileOn = true;?
For the selected output file, you need iphreeqc.SelectedOutputFileOn = true;.
Logged
siroos.azizmohammadi
Contributor
Posts: 3
Re: SELECTED_OUTPUT file is not created
«
Reply #2 on:
20/02/24 11:19 »
Thank you for the reply.
Yes, I have specified that.
Following is simply the script I am using to run example 2:
iphreeqc = actxserver('IPhreeqcCOM.Object');
iphreeqc.LoadDatabase('C:\Program Files\USGS\IPhreeqcCOM 3.7.3-15968\database\phreeqc.dat');
iphreeqc.RunFile([pwd,'\input_ex2.txt']);
pwd
iphreeqc.OutputFileOn = true;
iphreeqc.SelectedOutputFileOn = true;
Output = iphreeqc.GetSelectedOutputArray;
input_ex2.txt is just taken from the manual.
Best - Siroos
Logged
dlparkhurst
Global Moderator
Posts: 4074
Re: SELECTED_OUTPUT file is not created
«
Reply #3 on:
20/02/24 14:46 »
I think it is that you need to set the output files to on before you execute RunFile or RunString.
The setting for the files will remain in effect for additional RunFile and RunString until you change the file settings to false.
«
Last Edit: 20/02/24 14:52 by dlparkhurst
»
Logged
siroos.azizmohammadi
Contributor
Posts: 3
Re: SELECTED_OUTPUT file is not created
«
Reply #4 on:
22/02/24 10:52 »
Indeed, your point is valid.
I appreciate the helpful hint that resolved the problem.
Best regards - Siroos
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Beginners
»
SELECTED_OUTPUT
»
SELECTED_OUTPUT file is not created