-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation uvr1611 / database #6
Comments
Hi Peter, the migration scripts are only necessary if you have used an old version of the datalogger before. For new installations you are done after importing the structue.sql and the example data. Bertram |
Hi Bertram, I still have some questions:
In schema.svg, the field "Bezeichner" has been defined with: "#Mischer_Hzkr2_auf".
any idea? |
You are welcome ;) The problem with the "MISCHER" (mixer) is that their values are only displayed when the valve is moving. E.g. when it's opening or closing. The reason for this is, that usually there is no information about the exact position of the mixer. If you have a normal valve, you could use instead the function VENTIL(#) to display the states "open" and "closed". For the second problem, you have to look into the table ´t_names_of_charts´ for the entries with ´chart_id´ 8. There you should have defined the lines for the chart. Eg: BR Bertram |
Hi Bertram, you are right: Of course the status "AUF"/ "ZU" can only appear, when the mixer is running / changing its position. Is there a possibility to display digital values too? BR, |
Hi Peter, yes, you can display digital values too. For the schema you have to use the function DIGITAL(#) which display then 'EIN' or 'AUS'. For the charts you can add the digital lines just like the analog ones. They will be shown in a separated chart above the analog chart. BR Bertram |
Bertram, in t_menu is defined: in t_schema I defined: in t_names_of_charts its defined: So there should be a chart of this pump digital 1 in chart 4 (at the 4th position) ? Many thanks, |
Hi,
first many thanks for this great work!
Unfortunatelly I fail importing the tables usign the script:
Using the sample data, structure.sql was running fine.
When I use table-migration.sql afterwards, I get an error:
ERROR 1054 (42S22): Unknown column 'name_id' in 't_names_of_charts'
I tried to add the column: alter table t_names_of_charts add name_id char(50);
Then the script is running until:
Can't DROP 'chart_id'; check that column/key exists.
Even data-migration.sql does fail:
ERROR 1146 (42S02): Table 'uvr1611.t_datasets' doesn't exist
Sorry, but I am an abolutely noob in mysql....
Many thanks, Peter
The text was updated successfully, but these errors were encountered: