Configuring Java Location Within Mango
-
hi,
newbius here. i'm excited about mango. new to scada/hmi.
it seems like something i can to learn to make a computer interface
to control my kiln. i'm a home hobbyist with some computer knowledge.i installed java sdk 7 to c:\program files\java\jdk and c:\program files\java\jre
as the installer had two parts. it came from oracle at
http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-7u75-windows-i586.exe?AuthParam=1424645324_69c58c0729181b3065b797c95fe61365when i start ma-start.bat the error is the location of the missing server file jvm.dll.
mango is looking for it at c:\program files\java\jre\bin\server
the install of java places it at c:\program files\java\jdk\jre\bin\serverwhere within mango do i change this configuration?
i checked ma-start.bat but found nothing definitive.is this involved?
set EXECJAVA=java
if "%JAVA_HOME%" == "" goto gotJava
set EXECJAVA=%JAVA_HOME%\bin\javaif i reinstall java entirely to c:\program files\java
and restart i get this errorUsing Java at java
Error: missingserver' JVM at
C:\Program Files\Java\bin\server\jvm.dll'.
Please install or use the JRE or JDK that contains these missingnow it's looking in a different location.
i'm confused.
adding an environment variable for java_home within windows 7 does not help.thank you,
urg -
It's always great to hear about the variety of uses for Mango so tanks for posting.
You may have already seen this but here is a link to tips on windows installations: http://infiniteautomation.com/wiki/doku.php?id=installation:windows
I would double check your JAVA_HOME environmental properties and make sure it's set the same as in the video.
If that doesn't work we can do a short one-on-one support session to get it figured out.
Joel.
-
thank you for the reply.
the issue i've been having seems an odd one so i tried an install
on an xp virtual machine according to the video.it works fine.
i only installed the jdk and to the default location.
i cut and pasted the environment variables.i went and did the same thing on my win 7 machine again and had another error.
don't care why and don't want to know.
thank you very much for your assistance and concern.
mango can do a variety of things.
i wish to be able to control the kiln temperature with set points over periods of time
heating and cooling and be able to hold temps.
is there any advice you can give me on how to approach learning how to do this with mango?
-
Hey urglik,
Just thought I would let you know, Mango can run on a Raspberry Pi, too, which is about USD$35. There is nothing particularly complicated about the installation (as long as you are a little bit familiar with Linux). It will not be incredibly fast, but would be more than enough for your purposes.
This way, you could have a low-power, standalone appliance that runs your kiln, rather than running a PC 24/7.
You can probably get good results just using bang-bang control (like a simple thermostat) implemented in Mango using point event detectors, but there is also a PID control module that you would be able to use to very accurately set temps.
If you can describe exactly how you want your kiln to function then I'm sure we can help you figure it out.
-
raspberry pi does sound interesting as do similar products on the market.
i purchased a rs485 to usb module and planned on using a dell inspiron mini i have.
the raspberry pi sounds like an inexpensive way to have a wifi scada-hmi with mango
and my controller. that's cool.
anyways, regarding what capabilities i would like to have, and you're generous offer to
assist me in getting there, here is an example of a basic firing schedule for fusing glass.
http://www.fusedglass.org/downloads/schedules/full_fuse_2_layer_schedule.pdf
would it be appropriate to move the discussion to another part of the forum?
thanks eh...
-
@urglik said:
here is an example of a basic firing schedule for fusing glass.
http://www.fusedglass.org/downloads/schedules/full_fuse_2_layer_schedule.pdf
would it be appropriate to move the discussion to another part of the forum?
Hi urglik
It would probably be better to start a new thread, yes!
After reviewing the firing schedule document it is quite a bit more complex than what I was thinking - you need to control not just temperate setpoints, the timing sequence, as well as controlling temperature rate of change!
This isn't something that I have any idea how to do (particularly controlling rate of change) - I have only started to scratch the surface of Mango's control capabilities myself.I'm sure Joel or someone will be able to give you a point in the right direction though. Infinite Automation actually has a product called Brewer's Dashboard which does exactly that sort of thing.
-
thank you for your interest.
while poking around for the best products to use i found solo controllers
which offer a free scada program which will work for now.
being geekish i would prefer to build my own scada.
i can take some time learning mango.
thanks for pointing me in the right direction.
-
Hey urglik,
I'm interested in this free SCADA software for the Solo controller, but couldn't find info about it online - do you have a link for it?
Other than the software, the controller looks very similar to any basic + cheap PID temperature controller eg:
http://www.dx.com/p/xmt7100-1-3-screen-pid-intelligent-temperature-controller-black-192851#.VPZjzLOUfiEThese will take a measurement (Pv) , compare it to a setpoint (Sv) and then turn the output on/off to achieve the desired setpoint, using a PID process algorithm.
They are very simple to set up.I even installed one in my coffee machine:
The difficulty in your application will come not from controlling the Sv, but from controlling the rate of change of temperature, I think.
-
hi jeremyh,
i believe that the inexpensive pid controllers on ebay, etc. do not
have ramp/soak capability.the cheapest i could find on ebay was 75.00 and the quality i could not verify.
omega has them for 85 and up. (good products)
i chose solo, 90 and up, because of the software which you can get from this link.
http://ftp.automationdirect.com/pub/slsoft.zip
i think it's reasonable to assume this software will work other controllers.