Joost de Vries wrote:I reinstalled everything and the full version is working now too. However, every time I open up RAGen it resets even if I press "save settings" when prompted. I'd like to use the "Dosing Repeat Setup" but marking it doesn't do anything, I tried restarting it to see if it would take effect but as noted earlier it resets everything. Also it appears that it can't find arduino even though it is installed on my computer.
Lastly, I uploaded the .pde file generated by RAGen but now the only thing the LCD displays is the settings I selected. No current temp, pH, or socket activity. Is it suppose to do that?
To restore the saved values, you have to goto the Edit menu and choose Reset and then select Saved Values. By default, it starts you off with the standard default values. If you want to restore the values, you must "reset" them to what you saved them as. I know it's not the most ideal way to handle it, but that's how it is right now. I'm working on ways to improve this but have not finished it.
For Dosing Repeat Setup, you have to manually edit the PDE file to have it use the Dosing Repeat Interval. The "best" way to enable this is to have it checked under the Features tab, then select the Dosing Pump on the PDE tab and lastly, once the PDE has been generated edit the DosingPump1 (or 2) to be DosingPumpRepeat1 (or 2).
Again, it's not the most ideal way to handle it but that's how it is.
The reason for this is because all of these features were added in at a relatively fast pace and I have not had an opportunity to add them into RAGen. RAGen needs to be redesigned to handle the expanding features easier and the current layout/design is flawed and requires a lot of additional work to continue to add and expand it. Which is why it's getting redesigned.
The last thing you mentioned is, unfortunately, a result of confusion (that I created with RAGen). The last tab which has the Internal Memory will generate the Internal Memory PDE file to be uploaded to the controller with the settings/values that you have chosen. This just sets the values and displays them on the screen until the code to run the controller is updated. To generate the code that runs the controller, you must be on the PDE tab when you click Generate. This will generate the appropriate PDE file to run the controller code.
Again, like I said earlier, design flaws with RAGen. RAGen actually is/was a combination of several smaller apps into one application. Once it was created, more stuff kept on being added to it for improved functionality but the design wasn't improved much yet. I will be fixing all of these design flaws and making it much more "user friendly".
As for finding Arduino, it does a limited search for it. This is the logic it employs for looking for arduino:
1. Check for any saved locations in the registry for RAGen.
2. Check for Program Files\Reef Angel Controller
3. Check for My Documents\Arduino
If there is a saved location, it uses that. If it has to check in Program Files or My Documents, it tries to find the arduino.exe file. If it does not find it, then it sets the arduino directory to be the current directory.
It's pretty simplistic and "should" work most of the time if you install in the default directory. If you do not, then it will most likely not find it.
This should answer and explain your questions/problems you are having.
curt