Visualization Control Application
Visualization control application is a real-time program for DCU controller.
Content
- Apache 2.4+
- PHP 5.5.0
- PHP <5.3.0 treba sudo apt-get install php5-mysqlnd
Linux
- Copy visualization.conf to etc/apache2/conf-enabled
- enable mod_headers: sudo a2enmod headers
- enable mod_expires: sudo a2enmod expires
- In etc/php/7.2/apache2/php.ini set max_input_vars = 10000
- In etc/php/7.2/apache2/php.ini set session.cache_expire = 525600;=365days
- restart apache: sudo service apache2 restart
- give full permissions for all files and directories: cd /var/www/html sudo chmod -R 777 . (aj tĂș bodku!)
Windows
- In Wampstack program go to Manage servers -> Configure -> Open Conf file (httpd.conf)
- insert at the end of file Include "C:\path-to-your-visualization\visualization.conf"
- enable mod_headers: uncomment LoadModule headers_module
- enable mod_expires: uncomment LoadModule expires_module
- In C:\Bitnami\wampstack\php\php.ini
- set max_input_vars = 10000
- recommended: display_errors = On
- set opcache.enable = 0
- restart apache
Database credentials are in file ./settings_db.php (for backward compatibility you can use also ./visdba0.php)
- All project files and images are in ./process
- In DCU design tool (SciLab, Matlab) go to Menu -> Visualisation setup -> Set visualization server
- restart apache