Hi Ziko, I'm speaking again about the EnviroMon software (we are going to become shortly your favourite italian experts).
Yesterday we installed EnviroMon by a customers, without problems at all, but EmDataGen, the software for the data extraction, doesn't works. It give me first the following generic error : 'can't initialize application' (or something like it). Following this, I remember that the software need the DotNet Framework and thereafter I installed the 4.0 version but still I get the following error: " .net framework initialization error, Unable to find a version of the runtime to run this application'.
Probably something has gone wrong with the installation of the DotNet framework, or...?
Then I tried to extract data with a batch (modeled upon your sample enviromon.bat) wich calls the 'emw32.exe' with the 'd' switch but also this fails (bach terminated without data extraction) . It is also with the emw32,exe needed a dotnet Framework?
The data extraction works instead perfectly from the menu Display/Graphic.
Sorry for the delay, I have been on holiday for the last couple of weeks. This does look like a dotnet framework error, you only need .net framework 2. The -d is to download the data from the data logger, if you have EnviroMon already running it should not be used. Could you send me what you wrote in your batch file?
Hi Ziko,
thank you for your reply, I solved my issue downgrading the .net version (3.5 is still good, 4.0 don't).
But in your answer there is a thing I need to understand. You say that I shouldn't execute the following batch file
if there is already an instance of emw32.exe running.
I need the batch only to schedule data-extraction operation, but if you confirm then I should give a supplementary documentation to my customer to warn him to shut down the GUI before the batch starts
regards
umberto